I-frame Scroll Disable While Loading Url

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Mar 2008
Posts: 36
Reputation: lonestar23 is an unknown quantity at this point 
Solved Threads: 0
lonestar23 lonestar23 is offline Offline
Light Poster

I-frame Scroll Disable While Loading Url

 
0
  #1
Nov 11th, 2008
I have the following Iframe.

<iframe id="result" style="width:400px;overflow:-moz-scrollbars-none;overflow:hidden" scrolling="0" frameborder="0"></iframe>

Want to disable the scroll-bars while the url finishes completely loading in the iframe. The above seems to work with Firefox, but not with Safari, Opera, and not sure IE.

I am looking for javascript to disable all scrolling until iframe url has completely loaded.

Thanks in advance!
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 167
Reputation: Drew is an unknown quantity at this point 
Solved Threads: 7
Drew's Avatar
Drew Drew is offline Offline
Junior Poster

Re: I-frame Scroll Disable While Loading Url

 
0
  #2
Nov 19th, 2008
Well thats simpe enough,

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <iframe id="result" style="width:400px;" scrolling="no" frameborder="0" onload="this.scrolling='auto'"></iframe>

untested but should work
Drew Gauderman
ASP / MSSQL Coder
http://www.iportalx.net - My ASP Portal
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC