Collapsible Lists in FP2003: Any Special Effects Possible?

J

John Saunders

I've just started using Collapsible Lists in FP2003, and it works well.
Still, I'd like there to be some visual indication that a list is collapsed.
Is there any way to distinguish between the collapsed and expanded states?
In particular, does the collapse/expand code perhaps change the CSS class of
the lists?

Also, is there any way to get a hover effect when the mouse is over a
collapsible list?
 
J

Jim Buyens

The code that makes a Collapsible List work resides in a
file named collapse.js. This script toggles just the
style.display property; therefore, there no special CSS
class you can hook into.

You could try modifying the collapse.js file, but chances
are good that the next time you save the page or
recalculate hyperlinkls, FrontPage will restore the
original collapse file, overwriting your changes.

You can locate several thousand alternative ways of doing
this by typing "? treeview javascript? into the IE
address bar, and then pressing Enter.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top