We help IT Professionals succeed at work.
Get Started

iframe to call iframe

dcass
dcass asked
on
372 Views
Last Modified: 2012-06-21
This code takes a huge amount of time to load the thousands of records it might load.
I've been told to make it call a blank.html so that it does not load all the code in the iframe on load.
i.e.  substitute details.php with a blank.html and then somehow on mouseover, do the actual load to details.php so that basically no load time is sucked up by details.php.
function show(temp)

{

  document.getElementById(temp).style.display="inline-block";

}

function hide(temp) 

{

  document.getElementById(temp).style.display="none";

}

<div class='divclass'><b> 
<img src="Images/button" id='test' onmouseover="show('divname');" onmouseout="hide('divname');">

</td><td>

  <div id="display" style="border:0;display:none;position:absolute;">

     <iframe src="details.php?tmp1=xxx&tmp2=yyy&tmp3=aaa&tmp4=bbb"></iframe>

  </div>

</div>

Open in new window

Comment
Watch Question
Lead Developer
Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE