Forum Moderators: open

Message Too Old, No Replies

IFRAME alternative

I can't use IFRAME, help would be bueno!

         

wotech

7:40 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



I can't (and don't want to) use an IFRAME to to make a small scrollbox on my site. I've seen javascript scroll box thingy before but I cant seem to find it. Does anyone know of anything? Thanks in advance!

garann

9:06 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



You can use a DIV with the CSS attribute
overflow:auto;
to create a scrolling box. You shouldn't need any Javascript at all. :)

wotech

9:37 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



is this compatible with IE and previous versions of netscape? (i appreciate the help!)

garann

10:08 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



It works in IE6. As to previous versions of Netscape, I don't personally code for them, so I can't say. But I'd think that by using @import, you could have it degrade nicely in older browsers so you'd just get a taller DIV without the scrollbars, stretched to accomodate all your content.