Please login or register.

Login with username, password and session length
Advanced search  

News:

We are constantly trying to improve PHP Freaks and these forums, so feel free to go to the PHPFreaks Comments/Suggestions board and point out anything you'd like to see different!

Author Topic: Collapsed Menu Help  (Read 846 times)

Active users: reggordon (3)
0 Members and 1 Guest are viewing this topic.

reggordon

  • Irregular
  • Offline Offline
  • Posts: 3
    • View Profile
Collapsed Menu Help
« 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: [Select]
<!-- 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

  • Irregular
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Collapsed Menu Help
« 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

  • Irregular
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Collapsed Menu Help
« 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

PHP Freaks Forums

 
 
 

Page created in 0.041 seconds with 19 queries.