File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frames

 
Randall Twede
Ranch Hand
Posts: 4353
2
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should I be concerned about whether a client supports Frames or not? This is what I did:
(noframes)
This page requires a frames-capable browser.
(/noframes)
Am I correct in assuming almost everyone uses a Frames capable browser nowadays?
Another question. Is making you pages small enough the only way to prevent scrollbars? I have what will be a frame set soon that will look bad if it has scrollbars. I plan to make it small enough(if the browser is maximized).
[This message has been edited by Randall Twede (edited January 29, 2001).]
 
Lee Clarke
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well on the frames issue, I say that in this day and age nearly all browsers have frames anabled but some will disagree. Your only choice to address this would be to build a second non-frames version of the site or not build a frames version. I tend to just avoid the frames.. but would use them if I thought I needed to.
On the preventing scrolling you can set the property of a frame like such: <Frame SCROLLING=NO SRC="page.html"> this will prevent scrollbars from ever showing up nomatter how large the page in the frame.
Lee
 
Angela Poynton
Ranch Hand
Posts: 3143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally I hate frames-based sites ... by browser has no problem with them but sometimes they can be difficult to get out of. I just took a small survey amongst my collegues 50% didn't mind frames 50% Hated them with a passion .... I can see why they can be useful but personally I'd avoid them. Also on the page sizing issue ... you will have to tak into account that different people have their screen at different resolutions so what will fit comfortably on your screen when maximised may not on somebody elses with a lower resolution ... alos not everybody likes to maximise their browser windows ... I rarely do!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic