The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I taken the code from my navbar template and placed it on the very top of my theme which seems to both parse correctly and work. HOWEVER! the drop downs like Search and Quick Links menu are offset half way down the page on mouse-over and I'm not sure why. When I click on Quick Links the links sub menu shows up nearly at the bottom of the page.
Is there a place where the distance of the dropdowns are set in relation to the buttons? Furthermore are there any self contained menu plugins available. It seems that menu placement and modifications are among the top requested subjects in the forums related to theme design. LOL, no pun intended but I had a feeling that menu related questions tend to sit for a while. I'm curious why more coverage hasn't been discussed on the subject of custom menus or should I say customizing menus. |
#2
|
|||
|
|||
![]()
*bump*
|
#3
|
||||
|
||||
![]()
Can we get a website url to see this in action?
|
#4
|
|||
|
|||
![]()
**Semi Solved**
Ok for anyone interested or experiencing offset issues with their popup menus here is what I experienced and not quite sure why. 1 ) My template is an all CSS layout with two columns, header and footer. I placed the top portion of the code in header box under "common templates" and the footer portion as well. 2 ) My design included a header div as such <div id="header"></div> which was set to 170px in height and a position of relative. PROBLEM HOWEVER: 3 ) The problem was that all popup menus regardless of location in the forum were offset 170px lower than they should have been. So for instance if I clicked on "Search" the drop down search box would be 170px below the search link. Not real attractive to say the least. 4 ) I tried everything even building my theme from scratch with a fresh install of a VB Default Theme and simply added a padding div on top of the theme for 170px to see if it was my design or just something particular to vBulletin. I ended up with the same issue. Anytime I put a sized block element above the code the JS menus are offset by the same dimensions. Why? Well I'm not real sure and I'm hoping someone can shed some light on this. Here is a clean example for your review; A Simple Header Section in Common Templates Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].html?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output Code:
<div id="bodybanner">/*used for repeat background*/ <div id="bodybanner2">/*used for repeat background 2*/ <div id="maxouter">/*The max container*/ <div id="ma2">/*these sub id's represent variable width corners*/ <div id="ma3"> <div id="ma4"> <div id="ma5"> /*the actual container for the forum*/ <div id="pagewrapper"> <div id="example-spacer" style="height:270px;"></div> <div id="wrapper" class="clearfix"> <div id="rightcolumn">vBulletin Elements Here</div> <div id="maincolumn" class="clearfix"> $spacer_open $_phpinclude_output I'll publish a link to the site as soon as I'm done. |
#5
|
|||
|
|||
![]()
Thank you very much for posting how you fixed it, I am building my own theme with a custom header made in photoshop and dreamweaver, And i also customized the navbar template to accommodate an image in the top of the forum (hard to explain how it looks) and i was testing it before i put it on my site and found the the popups where waaaaay off. This fixed it. Thank you again!
|
#6
|
|||
|
|||
![]()
Most welcome, I need to revisit some of my old posts and code again anyway to update a few features.
Jared Ritchey |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|