Welcome to WebmasterWorld Guest from 18.208.187.169

Forum Moderators: open

Message Too Old, No Replies

Nav bar relativity

     
2:34 am on Dec 10, 2003 (gmt 0)

New User

10+ Year Member

joined:May 27, 2003
posts:18
votes: 0


Hi. I have a navigation js file that I call from my pages.
However, I want to align the nav bar within the table that I allocated for it, but the following code in the js file seems to overwrite any table boundaries..

myNavBar1.moveTo(x=250,y=110);

Anyone know how I can get around this?
Thanks

3:09 am on Dec 10, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 21, 2002
posts:977
votes: 0


The short answer: comment out that line!
// myNavBar1.moveTo(x=250,y=110);

The longer answer: comment out that line, and look at where in the code you have the link to the external.js file. Move it to within your table cell code (this assumes it's using document.write) (add a script tag if needed). Make sure there's no absolute positioning being used for the nav, and play with it's relative positioning until it's where you want it within it's table cell.