juliandormon
asked on
Layers visibility question
I want to call a certain function onResize that repositions a layer if it is visible. So I have a 2 part question,
a) How to a determine if a layer is visible
b) If it is can you call one javascript function from within another (I already have a layer positioning function, so I may as well call it if possible.
here's my feeble attempt so far:
function adjustFrameButtons(){
if (document.layers[IframeSea rch].visib ility = true){
P7_Snap('IframeAnchor','If rameSearch ',0,0);
}
}
P7_Snap is the other function.
Also, perhaps I can sneek this in:
When things are positioned in Netscape they seem to be to the left by one pixel of where they should be.
Is there something I should know about this? Can this be corrected?
a) How to a determine if a layer is visible
b) If it is can you call one javascript function from within another (I already have a layer positioning function, so I may as well call it if possible.
here's my feeble attempt so far:
function adjustFrameButtons(){
if (document.layers[IframeSea
P7_Snap('IframeAnchor','If
}
}
P7_Snap is the other function.
Also, perhaps I can sneek this in:
When things are positioned in Netscape they seem to be to the left by one pixel of where they should be.
Is there something I should know about this? Can this be corrected?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
function adjustFrameButtons(){
if (document.layers[IframeSea
P7_Snap('IframeAnchor','If
}
}