![]() |
Creating dropdowns using images/single cell?
Edited for the new question. I've got images for navigation working, and I've got the dropdowns working as I'd like them, but for some reason the javascript down-arrow wants to be under the image, instead of in line with it.
http://www.sevenstring.org/chris/vb_linkq.jpg I've gone with tables, and tried setting width="xxx" in them, but the thing still doesn't want to just stay in line with the image. --------------- Added [DATE]1200876144[/DATE] at [TIME]1200876144[/TIME] --------------- I ended up removing the dropdown image altogether. For those of you also trying to get this, or find it through a search, change the JS call to this: Code:
<script type="text/javascript">vbmenu_register("menuname", true);</script> |
In your nav images, did you define a width setting? If yes, you're forcing the dropdown image below your nav images. To overcome it wrap a <div> tag around the nav image and Javascript code. If no, then I'll need to see an example of your code.
|
Yeah, I had a width defined for the images, and the cell, but neither did the trick. It's working now though. :)
|
Hmm...OK. :D
|
You can also just comment this line:
Code:
// this.controlobj.appendChild(img); http://www.sevenstring.org/chris/ss_newnavbar.jpg |
All times are GMT. The time now is 03:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|