|  | Posted by Chris Tomlinson on 06/26/06 13:02 
Hi Neredbojias, thanks for that.  Just a couple of Qs before we try this:
 >>> Another way is to have the function called by the onload
 >>> event insert the future page url into the source of your iframe.
 >>
 >> Would you be kind enough to show us the correct code for this?
 
 >  <iframe id="iffy"...
 >
 >  function petunia() {
 >    document.getElementById('iffy').src="newpage.html";
 >  }
 >
 >  onload=petunia;
 >
 > ...in the <body> section.
 
 How would this differ to our current method of loading the iframe in a
 hidden div?
 
 >>> Another
 >>> way is to have the same function insert the future url into an
 >>> object.
 >
 > Same as iframe but using <object>.
 >
 >>> Another way is to open an invisible window with the future page as
 >>> its source.
 >>
 >> I suspect this may be the best and least interfering option.  I assume
 >> pop-up blockers don't mind this.  Would you be able to show us the
 >> correct code for this?  Remember first though... :D
 >
 > Use the window.open function with the page to-be-loaded as url.  Like...
 >
 >  var dupa=window.open('newpage.html,'gnupage','');
 >
 > The j/s code within newpage.html should blur the page and make it
 > invisible if loaded via preload.  This last can be done something like...
 >
 >  if (opener) document.body.style.visibility='hidden';
 
 What is the advantage of bluring and hiding the page, if the popup window is
 invisible anyway?
 Is that the exact j/s we need to enter in the target big page?
 
 --
 Thanks,
 Me
 
 Try Google Quik-e-search at www.Superhighstreet.com/home
 ....Finds anything or they buy it for you!
  Navigation: [Reply to this message] |