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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alternatives to Frames/iFrames?

Status
Not open for further replies.

JediBMC

MIS
Dec 5, 2003
178
US
I wanted to open up a can of worms. Ok, more of a genuine discussion of alternatives to the use of Frames and iFrames.

In particular, I am looking for a solution that will work in numerous environments which may not support such wonderful technologies as SSI or even PHP.

So how would you do it?

-Brian-
I'm not an actor, but I play one on TV.
 
I've used client-side Javascript for some kinds of repetetive chores, if you're looking to modularize the pages and make updating easier. Other than that, you didn't mention what you're using frames and iframes for that can't be handled as easily and maybe more cleanly with plain HTML.

Lee
 
You might as well be saying "I want advanced functionality but I don't want to use advanced code." So you say server side script is out. That's ok.

If you use javascript you are reliant on the client side browser settings on javascript execution. With added browser security this is an increasing problem.

You could use scrolling DIV's by way of style sheet, but again you are dependant on the browser setting, and you will only be able to use text.

An iFrame is the alternative for a frameset.

I guess my point is that if you must have a site that is dumbed down to the lowest common denominator then a straight HTML text site is the only thing that will work.

Hope it's worth something.

Wow JT that almost looked like you knew what you were doing!
 
useing CSS may work.
You can set different DIV tags on the HTML and set their position to absolute. This will force them into place in the browser window. You can set their width so the text inside won't escape.
The problem with setting it to absolute, is that someone browsing with thier default font size turned larger may have you page displayed funny.
So you may want to test with different default font sized, on top of testing with different browsers and screen resolutions!



Kevin Petursson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top