PDA

View Full Version : JavaScript Menu will not stay put!


Eireann
07-09-2004, 05:26 PM
hello,


i have a javascript navigation menu that is going accross the top of a page - - - or at least it is supposed to!

this menu is being called from an external javascript file like this:

<script src="menu.js" language="javascript" type="text/javascript"></script>


however, no matter where i place the code on my page, it shows up about dead center on the page.

if i use "normal html links", they work fine. any ideas?

thanks!:rocker:

agent002
07-09-2004, 05:29 PM
The script probably prints a div block or similiar that is centered. If you could give a link to the page (or post the .js file), and if it isn't a 300 line beast, I could try to remove the centering.

Eireann
07-09-2004, 05:33 PM
lol---it is pretty darn close to a 300 line beast!!

the link to the actual page is:


www.akashatesting.netfirms.com


i placed a text version of the script on that same host.

the address to that is:

www.akashatesting.netfirms.com/menu.txt


thank you for anything you can do to help me!! i think i have just been staring at it for too long for anything to click!

}:-)

ps---when you click on the second link, it gives an error. just hit enter in the address bar. it works then. i hate free servers!

agent002
07-09-2004, 05:47 PM
Frankly, I'm not especially interested in editing a code that is that big... it doesn't work in Opera either and the masses of JavaScript can be replaced with this extremely lightweight dropdown menu (http://www.alistapart.com/articles/dropdowns/)...