PC Review


Reply
Thread Tools Rate Thread

change iframe scrolling property failed with Javascript

 
 
Leonardo Curros
Guest
Posts: n/a
 
      29th Sep 2004
Hello,
i have an HTML page with an iframe defined as this:

<iframe id="iframe1" name="iframe" width="473" height="336"
frameborder="0" scrolling="no"></iframe>

I need to change dinamically scrolling property to 'yes' with
javascript, but code like these:

document.all.iframe1.scrolling='yes';
or
window.frames.iframe1.scrolling='yes';
or
var iframe = document.getElementById("iframe1");
iframe.scrolling='yes';

doesn´t work.


Help please
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript Does Not Want To Change A CSS Property Nathan Sokalski Windows XP Internet Explorer 8 2nd May 2006 09:31 PM
can JavaScript change web form control property? =?Utf-8?B?ZGF2aWQ=?= Microsoft ASP .NET 3 20th Mar 2006 06:10 PM
Variable length scrolling <div> or <iframe>? Jim M Microsoft Dot NET 44 2nd Feb 2004 05:13 PM
Variable length scrolling <div> or <iframe>? Jim M Microsoft VB .NET 44 2nd Feb 2004 05:13 PM
Iframe scrolling area Harley Microsoft ASP .NET 2 17th Dec 2003 03:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:19 AM.