Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-05-2006, 02:25 AM #1
- Join Date
- Nov 2006
- Thanked 0 Times in 0 Posts
Collapsible Menus - Remeber State
I've searched the internet everywhere and can't find anything so any help would be much appreciated.
So, for example, below (in the HTML) I have <div id="MenuA"> how would I make a cookie that will save the collapse state for MenuA..then for the next menu, MenuB and so on..
Thanks very much for any help!!
<div id="MenuA" class="flex_shut">
<div class="flex_header clearfix" title="Click to Expand" onclick="flexToggle(this.parentNode.parentNode)">
<div class="flex_header clearfix" title="Click to Collapse" onclick="flexToggle(this.parentNode.parentNode)">
<div><h9>About Me</h9></div></div><div id="fieldreg" class="infocolor">
<?php print $user->profile_aboutme ?></div>