Posted By: vargur
Hide many panels with one key - 02/16/09 23:08
Hi i have many panels each contained in a single wdl-file is it possible to assign one key to all of this panels to show or hide them? If it is possible how do I do that
function toggle_panel()
{
if is ("insert name of panel here", VISIBLE)
{
reset("insert name of panel here", VISIBLE);
}
else
{
set("insert name of panel here", VISIBLE);
}
}
without quotation marks
function toggle_panel()
{
if is ("insertnameofpanelhere", VISIBLE)
{
reset("insertnameofpanelhere", VISIBLE);
reset("insertnameofpanelhere", VISIBLE);
reset("insertnameofpanelhere", VISIBLE);
reset("insertnameofpanelhere", VISIBLE);
}
else
{
set("insertnameofpanelhere", VISIBLE);
set("insertnameofpanelhere", VISIBLE);
set("insertnameofpanelhere", VISIBLE);
set("insertnameofpanelhere", VISIBLE);
}
}