Forum Moderators: open

Message Too Old, No Replies

Nav bar relativity

         

anthonyl

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

10+ Year Member



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

Purple Martin

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

WebmasterWorld Senior Member 10+ Year Member



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.