July 06, 2008, 12:11:04 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: We are constantly trying to improve phpfreaks and these forums, so feel free to go to the PHPFreaks Comments/Suggestions board and point out anything you'd like to see different!
 
   Home   Help Search Calendar Rules Staff List Login Register  
Pages: [1]
  Print  
Author Topic: Collapsed Menu Help  (Read 121 times)
0 Members and 1 Guest are viewing this topic.
reggordon
Member
Offline Offline

Posts: 3


View Profile
« on: April 28, 2008, 01:27:01 AM »

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.

Code:
<!-- 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
Logged
reggordon
Member
Offline Offline

Posts: 3


View Profile
« Reply #1 on: April 28, 2008, 01:28:18 AM »

sorry i can't see the edit button. Forum here-
http://www.thedailypunt.com/forum/
Logged
reggordon
Member
Offline Offline

Posts: 3


View Profile
« Reply #2 on: April 28, 2008, 01:31:22 AM »

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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!