paulherron
06-21-2005, 09:56 AM
Hi everyone,
I was wondering if anybody might be able to help me. I've been fiddling round with a script i found for a navigation bar. One javascript file allows rollover images tobe faded in on the navigation bar, and the other allows a drop-down menu to be viewed when one of the buttons is clicked.
This drop-down menu is causng me problems. In my HTML page, everything is held within a layer called 'content', which keeps everything in the right place relative to each other but allows the whole lot to be centred in the browser. The drop-down menu, however, seems to appear wherever it likes, with its position changing according to how wide the browser window is sized.
I need to have the menu open directly under the 'portfolio' button, but I just don't seem to be able to give the drop-down menu an absolute position within the content box. Can anyone help? I'm not sure if it's the CSS setup within the HTML file or the Javascript code in 'vbulletin_menu' that's the problem.
A RAR file is available for download at www.paulherron.net/paulherron.rar (http://www.paulherron.net/paulherron.rar)
if anyone's interested.
Any help would be greatly appreciated!
Paul
I was wondering if anybody might be able to help me. I've been fiddling round with a script i found for a navigation bar. One javascript file allows rollover images tobe faded in on the navigation bar, and the other allows a drop-down menu to be viewed when one of the buttons is clicked.
This drop-down menu is causng me problems. In my HTML page, everything is held within a layer called 'content', which keeps everything in the right place relative to each other but allows the whole lot to be centred in the browser. The drop-down menu, however, seems to appear wherever it likes, with its position changing according to how wide the browser window is sized.
I need to have the menu open directly under the 'portfolio' button, but I just don't seem to be able to give the drop-down menu an absolute position within the content box. Can anyone help? I'm not sure if it's the CSS setup within the HTML file or the Javascript code in 'vbulletin_menu' that's the problem.
A RAR file is available for download at www.paulherron.net/paulherron.rar (http://www.paulherron.net/paulherron.rar)
if anyone's interested.
Any help would be greatly appreciated!
Paul