tags:

views:

96

answers:

2

is it possible to redirect an iframe to display the content of the frame after 2 seconds in a full window(same window, not a new one). I hope for a PHP solution.

A: 

You're going to need to use a client side language for that - namely JavaScript.

Here's a start

setTimeout(function() {

    var frameElement = document.getElementById('my-iframe');
    // get iframe URL
    // window.open(iFrameUrl, '_self');

}, 2000);
alex
A: 

Looks like you can use the location property of the 'top' object in JavaScript.

This link seems to describe this approach more fully.

Drew Wills