Click to See Complete Forum and Search --> : Maybe someone can help me...


EricWolfson
03-26-2003, 07:36 AM
I'm looking for a certain kind of dropdown menu. The one that automatically drops down the links when you hover the cursor over an image.

I've found a few, but the ones I've found want you to upload a few .js files to your server in order for them to work. My question is, is there any script like this that you don't need to upload .js files? I mean one that's simply coding.

Problem is my host won't upload the .js files. And if I don't get my hands on this script, I've got to scrap an entire design I did.

That'll teach me to build a design before covering all the bases... Heh.

If anyone has any ideas, feel free to shout something out.

Thanks bunches.

requestcode
03-26-2003, 07:51 AM
You can take the script that is in the ".js" files and place it in your page. Instead of this:
<script src="some.js" language="javascript"></script>

You would do this:
<script language="javascript>
... some script statements
</script>

Of course you would have to place the same script in each page that you use the menu. Also if you make a change to the script on one page you would have to make it to all the other pages. That is the beauty of external scripts - you can make the change in one place and it will take affect for all the pages. I would also check in to another host. I can not imagine a valid reason for not letting you upload external javascript files.

Scriptage
03-26-2003, 09:36 AM
rename the .js files to something else like .txt or .html. Then simply change the src="whatever.js" to the new file name. The javascript from the external script is still loaded into the page.