...

View Full Version : Total noob Q about installing a javascript



awsomejoe23
04-01-2007, 10:47 PM
Hey guys, I just got into web design in late march. I want to add a javascript to my page. the script requires me to download a file. I have tried already(a few times) and it hasn't come out right. What do I do after I download the file?
When I tried I downloaded the file, uploaded it to my public_html directory, named it fade.class like it told me, and tried saving it both as a text and a perl doc. It didn't work neither of the times. Can you please explain to me what I am doing wrong?

Thanks,


Joe

_Aerospace_Eng_
04-02-2007, 01:34 AM
It seems more like a java file NOT a javascript file. Where did you get the file from?

awsomejoe23
04-02-2007, 02:00 AM
you can find what I want to install here. (http://www.dynamicdrive.com/dynamicindex1/davidmenu.htm)
I can't find the link to the one I tried earlier.

Thanks

_Aerospace_Eng_
04-02-2007, 05:06 AM
What is the issue? All you do is follow the instructions. Download menu.zip
Extract the files to the location of your choice, preferably in the same folder as your html document. Upload the two .js files to your web space and use the code they give you in step 2 to get the menu to show up.

awsomejoe23
04-02-2007, 06:12 AM
I did that, thats why I'm so confused. Are the files supossed to go into the public_html folder to?(thats where I put them).


EDIT: thanks I got it now, I tried what you put below, but apparently I ssmitems,js.


Thanks again.

_Aerospace_Eng_
04-02-2007, 07:32 AM
Yes the files should go in the public_html folder. I found the page that has the script on it.

You have this

<SCRIPT SRC="www.awsomejoe23.heliohost.org/site.html/ssm.js" language="JavaScript1.2">

//Dynamic-FX slide in menu v6.5 (By maXimus, http://maximus.ravecore.com/)
//Updated July 8th, 03' for doctype bug
//For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com

</SCRIPT>

<SCRIPT SRC="www.awsomejoe23.heliohost.org/site.html/ssmItems.js" language="JavaScript1.2"></SCRIPT>
It should be this

<SCRIPT SRC="ssm.js" type="text/javascript">

//Dynamic-FX slide in menu v6.5 (By maXimus, http://maximus.ravecore.com/)
//Updated July 8th, 03' for doctype bug
//For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com

</SCRIPT>

<SCRIPT SRC="ssmItems.js" type="text/javascript"></SCRIPT>
You need to start double checking your urls to the files.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum