PDA

View Full Version : Java Script= Invalid File type?


Kaylee Skylyn
12-07-2001, 09:30 PM
I'm playing around with java script for my artistnation web page...the only problem is every time I try and upload the code it says it cant upload it because its an "invalid file type"

~kaylee~

Fig
12-08-2001, 05:11 PM
Hi,

You might have to show us the code and filename in order for someone to help.

Fig

Kaylee Skylyn
12-08-2001, 07:07 PM
The code works fine on geocities its just that artistnation does not recognise the extention .js
so no mater whats in the file or what its called its not recognised if its .js or .xml or anything like that.

you can see the code working here: http://www.geocities.com/callycouger/HVMenu/index2.html

so it works its just that artistnation dosent recognise the .js extention and I'm woundering if I can change that.

scottb
12-10-2001, 11:18 AM
I'll add ".js" to the list of acceptable filenames you can upload. :)

Cheers.
Scott

dsscha
12-10-2001, 09:00 PM
Make sure that just under your title in your HTML you have the folowing code:

<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">

This is the "type" the error message is referring to.

- dsscha

Kaylee Skylyn
12-10-2001, 10:20 PM
Scot>heh, somthing that easy eh?
*feals silly she dosent know how to do that, heads of to search for where to do it*

Kaylee Skylyn
12-10-2001, 10:31 PM
oppsy 'you'll add' I need to learn to read... ^_^;;

Thanks Scott!