[FX.php List] Collapsible list code?
Bob Patin
bob at patin.com
Tue Dec 26 23:17:52 MST 2006
Thanks, that's EXACTLY what I was looking for!
Best regards,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: tech at longtermsolutions.com
ICQ: 159333060
On Dec 27, 2006, at 12:11 AM, Timothy Tait wrote:
> here's a really simple version that uses text:
> <HTML>
> <HEAD>
> <SCRIPT LANGUAGE="JavaScript">
> <!--
> function hideShow(menu, pointer) {
> thisMenu = document.getElementById(menu);
> show = (thisMenu.style.display == "none");
> document.getElementById(pointer).innerText = ( show ? "-" : "+" );
> thisMenu.style.display = ( show ? "block" : "none" );
>
> }
> //-->
> </SCRIPT>
> </HEAD>
>
> <BODY>
> <TABLE>
> <TR>
> <TD>
> Menu 1 <A HREF="javascript:hideShow('drop_down_menu_1',
> 'menu_pointer_1')" id="menu_pointer_1">+</A>
> <span id="drop_down_menu_1" style="display:none">
> <!-- this data will be hidden and shown -->
> <TABLE border=1 bgcolor="gray">
> <TR>
> <TD>data list</TD>
> </TR>
> </TABLE>
> </span>
> </TD>
> </TR>
> </TABLE>
> </BODY>
> </HTML>
>
> by using the document.getElementById() function and the display
> tags, you can create menus that appear and disappear.
>
> -t
>
>
> On 12/26/06, Bob Patin <bob at patin.com> wrote:
> I'm looking for some easy code to implement collapsible menu lists; I
> see that Apple has some on their site at this link:
>
> http://www.apple.com/server/support/ (on the right side, the grey
> links)
>
> Does anyone know of a bit of code (either Javascript or PHP, although
> I assume it might actually end up being in JS) that would do what the
> Apple page does?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
>
> CONTACT US VIA INSTANT MESSAGING:
> AIM or iChat: longterm1954
> Yahoo: longterm_solutions
> MSN: tech at longtermsolutions.com
> ICQ: 159333060
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
> --
> give a man a fire, and keep him warm for a day.
> set a man on fire, and keep him warm for the rest of his life.
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20061227/a4a3f887/attachment.html
More information about the FX.php_List
mailing list