Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: iFrame issue


Message #1 by "Tim Zhang" <tzhang@h...> on Mon, 15 Oct 2001 22:16:53
this is purly thearetical but, try adding within the iFrame tag:

onclick="call_function()"

this should work.

-----Original Message-----
From: Tim Zhang [mailto:tzhang@h...]
Sent: Monday, October 15, 2001 11:17 PM
To: HTML Code Clinic
Subject: [html_code_clinic] iFrame issue


Hi:

I am designing a pull-down menu for a web page and I want it to work this 
way: when I click anywhere on the page, the pull-down menu will close.  
So, I add a function to respond to the click event. Everything works fine 
until the page is filled with iFrame components.  If I happen to click the 
area between iFrames, the menu will receive the click event and will 
respond correctly.  However, if I click INSIDE the iFrame, the click event 
will be "eaten" by the iFrame.  Are there anyway to get around?

I am using IE5. This is an intranet application and we have full control 
of browser.

Thanks!

  Return to Index