Quote:
Originally Posted by Crow
PHP Code:
trigger("ToggleVis", true/false)
// instead of
trigger("onToggleVis", true/false)
That should do it, no?
|
No, it doesn't matter which one. It'll still invoke "onToggleVis."
Quote:
Originally Posted by xAndrewx
HTML Code:
function onToggleVis(mode) {
if (temp.mode == true) this.hide();
else this.show();
}
|
Why not try something simpler, like:
PHP Code:
function onToggleVis(mode) {
this.visible = mode;
}