View Full Version : Frames
down2earth2
01/13/2006, 01:35 AM
Anything wrong with using frames when building web pages?
Absolutely not ..... especially if you want to upset people that don't like frames for some outdated reason.
Frames is a bad choice because it doesn't auto-refresh. When using frames you often have to refresh multiple times to see the updated page. Moreover, if you want to refresh you can't do it by pressin gthe refresh button or hitting 'F5', you must right-click in the frame and select to reload.
Also, If you're using frames your whole website has only one address (www.blah.com/index.html) and it doesn't change, which could be annoying (especially for the builder of the website).
Why not use the "include" tag? Just make a txt file with the layout of your website and include the file at the begining of each page... Makes it all easier :)
Scott
01/13/2006, 11:22 AM
I prefer to avoid frames at all costs. Frames are generally used to repeat the same content on every page. You can do the same thing with an asp or php include and it's VERY minor code to learn.
Frames are bad for the reasons Nizz posted as well as making bookmarking a specific page impossible.
down2earth2
01/13/2006, 01:50 PM
Thanks to all for the feedback
[QUOTE=Nizz]Frames is a bad choice because it doesn't auto-refresh. When using frames you often have to refresh multiple times to see the updated page. [/QUOTE]
I'm not sure why someone would want to refresh the page. At least in this case the page won't be updated all that frequently.
[QUOTE=Nizz]Also, If you're using frames your whole website has only one address (www.blah.com/index.html) and it doesn't change, which could be annoying (especially for the builder of the website).[/QUOTE]
I wasn't thinking of using frames for the whole website, but just for certain pages like a photo gallery. One frame would have very small images of the photos in the gallery, and the other frame would display a larger version of any photo you clicked on.
Maybe the question I should be asking is: What is the best way to present a photo gallery?
[QUOTE=Scott]You can do the same thing with an asp or php include and it's VERY minor code to learn.[/QUOTE]
Well after a search and some reading I now at least know what asp and php are (sort of). Basically I just want to be able to make a simple web page for myself, and asp and php seems like more than I can learn in a day or two. I don't really even know how to begin.
I know what I'm about to say will affect Jolt like most people are affected by the sound of fingernails screetching on a blackboard, but I'm using Dreamweaver to make my site. I basically know nothing about code, although I'm not an idiot, and I'm watching the code that DreamWeaver is making as I go, so I'm getting the jist of it.
So what are the main disadvantages of using DreamWeaver?
From what I've seen Dreamweaver writes an epic novel in HTML when a short story is all that's needed and decoding a bug could cost you so much time in unravelling the code.
Learn the code Luke, learn the code! (asp and php not HTML)
[QUOTE=Dave]Learn the code Luke, learn the code! (asp and php not HTML)[/QUOTE]
Of course, you MUST know HTML because the's the base of both ASP and PHP :P
Btw, if you want to just make a photo gallery you can try using an iframe. It's sort-of like a frame but it can be positioned any where you want and still very easy to use... I think that's what you're looking for (for a gallery). If you don't get the hang of it, you can always make a gallery with a simple JS code using a table...
Scott
01/13/2006, 05:02 PM
Jack.. with php you would simply would add include('file.inc') somewhere.
Really it's basic html with a couple php lines, that's all.
vBulletin v3.0.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.