943,699 Members | Top Members by Rank

Ad:
Nov 11th, 2008
0

I-frame Scroll Disable While Loading Url

Expand Post »
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!
Reputation Points: 20
Solved Threads: 0
Light Poster
lonestar23 is offline Offline
43 posts
since Mar 2008
Nov 19th, 2008
0

Re: I-frame Scroll Disable While Loading Url

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
Reputation Points: 25
Solved Threads: 7
Junior Poster
Drew is offline Offline
166 posts
since Apr 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Spry Menu Bar - help please!!
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Javscript framework





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC