php - How to make sure a page appears once the iFrame on the page has loaded first -


i'm pretty new world of web developing , web design in php, hoping me question.

i loading particular page on php powered website loads iframe page elsewhere in center of page. wondering if knows how whole page load once iframe has loaded. it's matter of further 1 or 2 seconds before iframe loads, needs professional possible.

i'd appreciate help. i'd assure guys although first question, know how stack overflow works 1 of best friends contributors here , he's telling me how annoying when people don't respond or give points answers, i'd assure that.

thanks again. steve.

use jquery. won't able in php, it's client side issue.

function calliframe(url, callback) {     $(document.body).append('<iframe id="myid" ...>');     $('iframe#myid').attr('src', url);      $('iframe#myid').load(function()      {         callback(this);     }); } 

see: jquery .ready in dynamically inserted iframe


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -