Hello,

I have an 1x1 px iframe on my website. If user is logged in, but doesn't show any activity, the content of the iframe (php script) refreshes every 10 minutes. The main purpose of this iframe is to check for new messages and inform user with sound/alert if there are new messages.

I tried to call "window alert" from iframe if user has new messages, but it shows up over parent window only in Firefox. In MIE "window.alert" stays in iframe and user doesn't see it.

I need any solution how to display some message (window.alert/pop up/dhtml window etc, etc ) over parent window when script in iframe detects new messages.

Is it possible at all or I have to forget about it?

Thanks.

    Found solution. I have to use:

    window.parent.window.alert

    instead of:

    window.alert

      Write a Reply...