Haven't tried it personally on other elements. I know that iframes work
differently to other DOM objects, mainly as they have their own version of a
qausi anal security sandbox type limitations... its bad mkay..

scrollable clipping planes should be aok for on/off though.. in theory.

Scott


"Steve Onnis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> Is this the same case with DIVs and other elements that can have scroll
> bars?
>
> Because I actually got it to work using CSS on a text area
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Scott
> Barnes
> Sent: Friday, June 13, 2003 3:40 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] Re: Attention All DHTML Gurus
>
>
> Once an iframe has been rendered i'm pretty certain you can't repaint its
> state. Also keep in mind that a body tag within the iframe can override
the
> iframe scroll in that if you put <body scroll="no"> it will not be a
> scrollable entity.
>
> Scott.
>
>
> "Steve Onnis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >
> > I have, but it doesnt want to change it.  It changes the actual value of
> the
> > property, but wont ass or remove the scroll bars
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Antony
> > Sideropoulos
> > Sent: Friday, June 13, 2003 3:26 PM
> > To: CFAussie Mailing List
> > Subject: [cfaussie] Re: Attention All DHTML Gurus
> >
> >
> > I had to reply to a Guru question, just had to...
> >
> > Have you tried using CSS properties
> >
> > eg o.style.overflow='hidden'
> >
> > >>> [EMAIL PROTECTED] 13/06/2003 14:15:58 >>>
> > Ok
> >
> > MSDN says you can do this but I can not for the life of me get it to
work.
> > I am trying to dunamicaly set the scrolling property of an IFRAME.  I
can
> > get the value, i can set the value, but the IFRAME its self does not
seem
> to
> > take on the property.  I set it to scrolling=no and it still scolls
> >
> > Code below
> > ==========================================================
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> >
> > <html>
> > <head>
> > <title>Untitled</title>
> > </head>
> >
> > <body>
> >
> > <iframe name="myiFrame" src="bla.html"></iframe>
> > <br clear="all">
> > <script>
> > o = window.frames[0].frameElement;
> > function overF()
> > {
> > if(o.scrolling == "no")
> > {
> > o.scrolling = "yes";
> > o.height = "100";
> > }
> > else
> > {
> > o.scrolling = "no";
> > o.height = "200";
> > }
> > }
> > </script>
> > <input id="b" type="Button" onclick="overF(); this.value =
o.scrolling;">
> > <br>
> > <script>
> > document.all.b.value = o.scrolling;
> > for (p in o)
> > {document.write(p + " = " + o[p] + "<br>");}
> > </script>
> >
> > </body>
> > </html>
> >
> >
> > ---
> > You are currently subscribed to cfaussie as:
> > [EMAIL PROTECTED]
> > To unsubscribe send a blank email to
> > [EMAIL PROTECTED]
> >
> > MX Downunder AsiaPac DevCon - http://mxdu.com/
> >
> > -------------------------------------------------------
> > Maddocks
> >
> > Tel: (03) 92880555   International: +61 3 92880555
> > Fax: (03) 92880666   International: +61 3 92880666
> >
> > Web: http://www.maddocks.com.au
> >
> > -------------------------------------------------------
> > The information in this electronic mail is privileged
> > and confidential, intended only for use of the individual
> > or entity named.  If you are not the intended recipient,
> > any dissemination, copying or use of the information is
> > strictly prohibited.  If you have received this transmission
> > in error please delete it immediately from your system
> > and inform us by email on [EMAIL PROTECTED]
> > -------------------------------------------------------
> >
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> >
> > MX Downunder AsiaPac DevCon - http://mxdu.com/
> >
> >
> >
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to