View Full Version : drop menu becoming collapsable cells
Noiz Pollution
Thu 6th Jan '05, 10:05am
Hi folks,
After doing a search and coming up with nothing I decided I'd open a new thread and get help that way, how original ;)
Anyway, what I'm looking to do is take the horizontal menu bar and turn it into a vertical menu bar, in doing this I'd also like to change the behaviour of the drop menus so they behave like the collapsable cells but instead of having an extra link to control it I'd like it to be controlled by the text itself.
Can anybody help or at least point me in the right direction?
Cheers,
Robert
Noiz Pollution
Fri 7th Jan '05, 1:31pm
*bump*
Noiz Pollution
Sun 9th Jan '05, 8:40am
*bump*
Noiz Pollution
Mon 10th Jan '05, 8:34am
*bump*
Does everybody just ignore my posts? Surely somebody must know how to do this?
Steve Machol
Mon 10th Jan '05, 4:19pm
No sorry, I do not know how to do what you were asking. If I had I would have responded.
diades
Wed 12th Jan '05, 8:08pm
If I am reading you correctly
take the horizontal menu bar and turn it into a vertical menu bar
Place the main table containing the forums/threads themselves in the right cell of a two-celled table and the section containg the menu into the left cell.
in doing this I'd also like to change the behaviour of the drop menus so they behave like the collapsable cells
Take the links that are in the drop-menu and place them into the colapsible div supplied by vBulletin
but instead of having an extra link to control it I'd like it to be controlled by the text itself.
Not quite with you here.
Noiz Pollution
Thu 13th Jan '05, 5:28am
Hi diades,
The first bit I've got covered, that's no problem, it's the collapsable div part I'm not entirely sure about. Also what I mean by instead of having an extra link is instead of having that little vertical arrows icon you find on the right hand side of categories on the main page and on the right hand side of the header cell on the quick reply box and on various other things, I'd like to just use the text of the link to collapse or expand the div.
Cheers,
Robert
diades
Thu 13th Jan '05, 5:47am
Hi Robert
If you look at the vb3 manual (look for collapsing elements), you will see very detailed help regarding the collapsable element. The change that you require would be in this section:
<a href="#top" style="float:$stylevar[right]"
onclick="return toggle_collapse('MyELEMENT')"><img
id="collapseimg_MyELEMENT"
src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_MyELEMENT].gif"
alt="" border="0" /></a>
Where, you comment out the section in red and add you required text.
Noiz Pollution
Thu 13th Jan '05, 6:57am
Cheers diades, I'll give it a go :)
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.