The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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.
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> |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
Yeah, I had a width defined for the images, and the cell, but neither did the trick. It's working now though.
|
#4
|
||||
|
||||
Hmm...OK.
|
#5
|
|||
|
|||
You can also just comment this line:
Code:
// this.controlobj.appendChild(img); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|