From: Victor Boctor <victor@fu...> - 2004-07-22 10:04:20
The current implementation stores the status of each "collapsible"
section in a bit, and then stores the flags into a cookie (as far as I
wrapper API). Hence, the current implementation assumes there is a
fixed number of collapsible sections.
In the future, I would like to also support an unlimited number of
collapsible sections, but in this case I don't need them to be
remembered. I am planning to use this in the View Issues page to allow
expanding an issue to see more details about it.
I've created a page with as many tables as objects I have in a custom
(this is not mantis custom fields, or custom_table).
I want to add '+' / '-' icons to each table in order to expand/close
(not all but each of them).
I want to know if this is possible or not ?
Apparently, (according to the core/collapse_api.php, line 27) I need to
var g_div_myname (line 82)
Is just this enough, or I need to make more changes in my code ?
And which value do I need to set for thoses variables ?
Also : my tables are built dynamically, according to the elements in my
database. How can I create a custom
according to the xxx_element I load on my page ?
I hope I've been clear enough...
And I hope so will help :-)