G
geotso
Hi
I'm looking for a javascript with the following operation:
if history.length <=2
show "layer1" and hide "layer2"
else
hide "layer1' and show "layer2"
Notes
"layer1" and "layer2" are the IDs of two layers
this should be in a function, in order to call it with onLoad
Can someone help me please?
I'm looking for a javascript with the following operation:
if history.length <=2
show "layer1" and hide "layer2"
else
hide "layer1' and show "layer2"
Notes
"layer1" and "layer2" are the IDs of two layers
this should be in a function, in order to call it with onLoad
Can someone help me please?