I had a post yesterday (http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/f05d09948e35e37685256fbd0075c9fe?OpenDocument) trying to find a workaround for the issue of layers appearing behind combobox and listbox controls.
I have some sample code:
var isActive = false;
function showMenu(fieldName){
isActive = true;
document.getElementById(fieldName).style.visibility="hidden";
document.getElementById("subMenus").style.visibility="visible";
}
function hideMenu(fieldName){
isActive = false;
setTimeout('hide(' + fieldName +')',100);
}
function hide(fieldName){
if(!isActive){
document.getElementById("subMenus").style.visibility = "hidden";
document.getElementById(fieldName).style.visibility="visible";
}
}
“subMenus” is the sample name of the layer. However, I cannot find the name of the layer that I need to place where “subMenus” is. The layer(s) are generated dynamically by JavaScript and I cannot view the source code behind those layers.
I was hoping to view the source code of the layer, but I can’t get that to work. I used the suggestions from other posts I had
but no luck on any of them.
Is there some code out there that I can use without finding the layer name OR is there a way for me to get the layer ID/name from the dynamically generated layer???
Thanks!
Dan