[thelist] Events in layers

Mark Cheng mark.cheng at ranger.com.au
Thu Jun 28 23:51:14 CDT 2001



>Does anyone have any ideas to get me out of this one. The popup
>MUST stay up
>until clicked anywhere else (other frames etc.)
>
>Thanks in advance, Pete

pete,

If you only want the popup to open if a link is clicked, grab the event
object and use conditional code to only do the popup if the event target was
a link.

eg:

function linkpopup(e) {

if (e.srcElement.type ="A") {
	do popup;
	}
else return false.

I'm a bit rusty on the event object, but I know that the target differs in
NS vs IE.

If that would help let me know and I'll see if I can find any code scraps
where I've used that.

Mark


This email may be confidential and contain commercially sensitive information.  Only the intended recipient may access or use it.  If you are not the intended recipient please delete this email and notify us promptly. 
We use virus scanning software but exclude all liability for viruses or similar in this email or any attachment.






More information about the thelist mailing list