PDA

View Full Version : IFrame onclick event



PatrickP
06 Apr 2008, 05:03 PM
Hi.

I have an iframe in which I load the content page. On several content pages, I use an onclick event somewhere (for example to show/hide more info). But when the content page is just loaded those events don't fire right away when i click them. I have to click inside the iframe once before they work. I can't find anything about this on the net. Try for yourself:

(website in dutch)
http://www.dierenkliniekpijnappel.nl
and click "route". then try to click on "meer...".
Notice how you have to click twice the first time.

(applies to both IE & FF)