ClulessChris
IS-IT--Management
I'm brand new to JavaScript so please excuse my ignorance.
Using an external script file I have the following function:
Is there a method (such as a loop) where I can dynamically identify and hide all layer rather than implicitly naming each?
I would like to use this external Script file for all pages, but not all pages will have all layers.
Never knock on Death's door: ring the bell and run away! Death really hates that!
Using an external script file I have the following function:
Code:
Function hideAll(){
hideLayer('layer1');
hideLayer('layer2');
hideLayer('layer3');
hideLayer('layer4');
}
I would like to use this external Script file for all pages, but not all pages will have all layers.
Never knock on Death's door: ring the bell and run away! Death really hates that!