www.webdeveloper.com
Results 1 to 2 of 2

Thread: hidden iframe loading time

  1. #1
    Join Date
    Dec 2009
    Posts
    92

    hidden iframe loading time

    Hi,

    I have found this script:

    Code:
    <input type="button" value="Hide/Show" onclick="HideFrame();"  />  
    
    <IFRAME id="frDocViewer" src="http://www.google.nl/" name="frDocViewer" height="75%" width="100%" frameborder="1" style="display:none;" >
    </IFRAME>   
    
    
    <script language="javascript"> function HideFrame(){  
    fr = document.getElementById ("frDocViewer");  if (fr.style.display!='none'){   }  
    else {   fr.style.display="block";  } }  </script>
    I want to use it for my 40 (little) iframe's... I was wondering, if the iframes are hidden, wil this result in faster download speed for front end users??

  2. #2
    Join Date
    Mar 2009
    Posts
    468
    I was wondering, if the iframes are hidden, wil this result in faster download speed for front end users??

    No.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles