reggordon Posted April 28, 2008 Share Posted April 28, 2008 Hello i have a sidebar mainly made up of php on my forum here- As you can see the sidebar on the right menus are defaulted to being OPEN (showing the links within) Would it be easy enough for a php novice like me to make them default as closed? I believe they might be 'cookie driven' too if that means anything to anyone. Here's the code for one of the menus and thanks in advance for any help you can offer. <!-- partners --> <div class="leftmenutitle"> <div class="floatleft">Stuff</div><div class="floatright"><a href="#top" onClick="return toggle_collapse('partners8')"><img id="collapseimg_partners" src="$vboptions[bburl]/skin_images/buttons/collapse_tcat$vbcollapse[collapseimg_tcat].gif" alt="" border="0" /></a></div> </div> <div id="collapseobj_partners8" style="$vbcollapse[collapseobj_partners8]"> <div class="leftmenucontent"> <ul class="partnerslist"> <li><a href="http://www.thedailypunt.com/forum/index.php?styleid=47" target="_blank">Old Theme</a></li> <li><a href="http://www.thedailypunt.com/forum/index.php?styleid=57" target="_blank">Mobile Theme</a></li> <li><a href="http://www.thedailypunt.com/forum/modapp.php" target="_self">Forum Mods Req</a></li> <li><a href="http://thedailypunt.com/tdps-forum/" target="_self">tDPS Forum</a></li> <li><a href="http://thedailypunt.com/wp-signup.php" target="_blank">Create tDPS</a></li> </ul> </div> </div> <!-- / partners --> thanks Link to comment https://forums.phpfreaks.com/topic/103224-collapsed-menu-help/ Share on other sites More sharing options...
reggordon Posted April 28, 2008 Author Share Posted April 28, 2008 sorry i can't see the edit button. Forum here- http://www.thedailypunt.com/forum/ Link to comment https://forums.phpfreaks.com/topic/103224-collapsed-menu-help/#findComment-528731 Share on other sites More sharing options...
reggordon Posted April 28, 2008 Author Share Posted April 28, 2008 ps and im sorry if im being dumb im just trying to be helpfull but when you view a link to this thread from my forum the link name is 'an eror has returned' http://www.thedailypunt.com/forum/comments-announcements/110341-sidebar.html#post504617 Link to comment https://forums.phpfreaks.com/topic/103224-collapsed-menu-help/#findComment-528732 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.