marios
asked on
Expanded/Collapsed twisties for HTML view
I have a categorized view shown as HTML on a view template:
1. Is it true that I can only show one expanded category at a time?
2. How can I show the proper twistie (expanded/collapsed) for each category? In other words, how can I detect whether my category is expanded or collapsed? As I understand it, I need to use @IsExpanded, except that @IsExpanded is not available on the web!
Thanks
1. Is it true that I can only show one expanded category at a time?
2. How can I show the proper twistie (expanded/collapsed) for each category? In other words, how can I detect whether my category is expanded or collapsed? As I understand it, I need to use @IsExpanded, except that @IsExpanded is not available on the web!
Thanks
the URL command syntax (in the designer help file) gives you some language that can be applied in the URL to open or close specific sections or categories. It is not, unfortunately, very complete.
You can also look in the 'Domino Url Cheatsheet' at http://www-10.lotus.com/ldd/today.nsf/lookup/domino_url_cheat_sheet . find the line "Optional arguments for OpenView".
But there is a great "tip" on twities and the web at http://www.tlcc.com/tlcc/tips/notwistietip.nsf
But there is a great "tip" on twities and the web at http://www.tlcc.com/tlcc/tips/notwistietip.nsf
Answer:
1#: It is NOT true. You can have ALL twisties expanded :)
2#: The URL behind the actual twistie tell you what the next operation will be. If it contains "&Expande=", then it is actually collapsed :-)
But I assume you like to do this expanding and collapsing stuff on the browser client with DHTML, am I right?
1#: It is NOT true. You can have ALL twisties expanded :)
2#: The URL behind the actual twistie tell you what the next operation will be. If it contains "&Expande=", then it is actually collapsed :-)
But I assume you like to do this expanding and collapsing stuff on the browser client with DHTML, am I right?
ASKER
Correct, I want to do the expanding/collapsing on the browser side with DHTML.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! Just what I was looking for! Haven't tried it yet, but I will. Thanks again.
Thanks for the points :-)