Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inline scrolling on HTML sites....

Status
Not open for further replies.

raznov

Programmer
Apr 8, 2002
110
US
I have occasionally seen on some HTML sites, a section that scrolls but is not part of a frameset.

I remember from my school days using inline frames for a project, only to find out that NS does not support them. I belive this is still true. These days, I have no idea what people are using. I mean is it DHTML, JAVASCRIPT?

I am doing some searching now for examples, but any suggestions would be appreciated.

Thanks,
Kim Raznov
 
Hi,
Iframes are supported by Netscape 6+. You can find out more about them at:
Some people use DHTML or JavaScript, but mainly it's because they don't want to use frames, not because iframes aren't supported. Iframes are in the HTML (and XHTML) standard, and over 95% of internet users can see them properly.

Rick -----------------------------------------------------------
 
Thanks, for the site referral. I am a bit rusty on what works in which browser these days, as my major concentration is on Flash development.

I am interested in not using frames as well. I belive that to use an inline frame you must start out with a frameset. I usually build my sites as such...


So if I want to use a JavaScript or DHTML scroll. (I did once study both languages) do you know of any resources for the code, that would not be too difficult for me to figure out.

KIM
 
You can also do it with <div> tags:

<html><body>
<div style=&quot;width:200px&quot;><fieldset>
<div style=&quot;width:200px; height:100; overflow-y:scroll&quot;>
Your Text Here
</div></fieldset></div></body></html>
Clive
 
Hi guys,

Just be aware that overflow: scroll is supposed to be buggy on a MAC with IE.

Initially nothing appears in the box, only when you scroll it away, then back again it appears.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Using iframes does not require using a frameset. That's why they are called Inline frames.

Also, overflow-y:scroll is IE only.

Rick -----------------------------------------------------------
 
overflow:scroll; is in in the standard. overflow-y:scroll; and overflow-x:scroll; aren't. Correct me if I'm wrong, 'cause there have been numberous occasions where I have wanted to use overflow-y:scroll;, but I don't think that it's supported.

Rick -----------------------------------------------------------
 
I'm saying that although overflow:scroll; is standard CSS, I'm pretty sure that overflow-y:scroll; and overflow-x:scroll; are not. I'm pretty sure that I've used overflow-y:scroll; in NS before and had it not work.

Rick -----------------------------------------------------------
 
Thanks so much everyone.
I am going to have to look over all of this stuff and decide what my best option is.

I really didn't konw you don't have to use a frameset to use an inline frame. That;s great actually.

KIM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top