469,923 Members | 1,333 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

Using frames / iframes

I believe that different browsers treat frames/iframes differently, and this
is one of the reasons to avoid using them in websites/applications.

Are there any other reasons to avoid them?

In my experience I find them clunky and messy to implement using javascript
and prefer to keep the whole web page as a single page.
Sep 12 '05 #1
1 1421
Unless you write some fancy javascript hooks, you can pretty much right
off back and forward buttons for intuitive navigation when you go to

However, every coding style has it's applications.

If you are building complex business applications that deal with tons
of data, complex data structures and workflows, frames are the best way
to go. Otherwise the users always complain about managing multiple
windows. Sure tabs make this less painful in the better browsers but
not much.

If you want to do frames be ready to write some rather complex JS to
make the application work properly.

If you cannot do JS for these sites, I would avoid frames. Frames
without JS are just too mundane un-intuitive. For example, when a user
navigates to the sub frame from a Google search result, they will not
get the entire frameset. This will result in the user only getting the
one frame. This can be prevented by the server checking if the user
requested the frameset within n seconds and if not send them the
frameset instead (complex). Also, JS can be written to search for the
frameset and redirect to the frameset as necessary (has a few tails but
is realtively easy to do)


Sep 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Dave Moore | last post: by
13 posts views Thread by S Kalynuik | last post: by
11 posts views Thread by Kent Feiler | last post: by
11 posts views Thread by Grischa Brockhaus | last post: by
56 posts views Thread by Deepan HTML | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.