Frames are evil! (sort of...)
I work for a small non-profit organisation and am slowly moving into the role of overseeing their web site. I have good graphic design skills, but am still rather new to the technical side of web design - however, I pick these things up fairly easily, so I'm sure it's all a matter of trial and error (plus they can afford me!) ... So my point is, I'm still a newbie here ...
The site was originally designed by an external web design firm and I personally think they've really not done such a good job on it, although I'm sure their code is better than anything I could write at present! One of the main problems as I see it is that the site has been done in frames, making printing difficult (and it is very much a site that people will want to print things from) and generally seeming quite inflexible from a design point of view.
After all that, my point is ... can someone tell me how easy it is to remove frames from an existing site without causing major problems? Can buttons and so forth in a frame being removed easily be relocated into the main page?
I'm sure I'll have plenty of other questions, but that's a start.
Thanks!
The Webmistress posted this at 12:48 — 4th October 2001.
She has: 5,586 posts
Joined: Feb 2001
You would really be looking at then having to re-layout each of the other pages as you can't just plonk an extra bit into the code. You would have to use tables to layout the page and readjust the existing page layout to suit.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
Megan posted this at 13:30 — 4th October 2001.
She has: 11,421 posts
Joined: Jun 1999
Well, you might be able to do this without too much difficulty using SSI (server side includes - I will explain this below)). What you'd do is copy and paste your frame into a new layout using tables - I'm sure you'd be able to re-use some components. Then what you'd do is separate the template areas (header, which would likely contain a logo and navbar etc. and footer which might have a bottom text navbar and/or copyright statement etc.) into separate files.
Then you would need to get a piece of software that will do search/replace in whole diretories without having to open the files. Macromedia's Homsite will do this and you can get stand-alone programs as well. So then you'd just use that to insert the SSI code into every page (so you'd replace, say, the body tag with the body tag + the SSI tag underneath it)
A server side include is a piece of code that grabs a file from the server and literally includes it right into your .html page. Oh, that reminds me. You'll may also need to get a program to re-name file extensions - some servers support SSI files with just .html extensions but some need them to be called .shtm or .shtml. Hopefully someone will know what this software is called... I used to have it.
This is what an SSI tag looks like:
So it's just going to grab the header.html file and put it right into the page you're on. This makes it easy to keep common page elements like logos and navbars and footers separate from the actual content. This way if you want to make a change to your navbar, you just have to change one file instead of every page on the site.
I hope this makes some sense to you. How big is this site anyway?
Megan
Connect with us on Facebook!
Suchey posted this at 13:57 — 4th October 2001.
They have: 5 posts
Joined: Sep 2001
Frames arent too bad...they have a really bad rap from back in the day when many browsers couldnt handle them...as a result, the "Old-Men" that are "teaching" web design still cling to the old principle that frames should be avoided. Its a trickle down effect. If you have items that you want to present for printing, an alternative solution may be to offer a printer friendly page. Something like a "Click here for printable version" with only the text or graphic on the resulting page.
Megan posted this at 14:21 — 4th October 2001.
She has: 11,421 posts
Joined: Jun 1999
I'm going to have to disagree with that to some extent. Personally I think that frames are more trouble than they're worth. It's just a pain to get them to work right - much easier to use an SSI and be done with it. Of course, I'm still seeing a lot of really bad implementations of frames. There are some good ones, of course, and there are some cases where frames are the right choice, but overall I'd rather do without them both as a designer and as a user.
Megan
Connect with us on Facebook!
mairving posted this at 14:36 — 4th October 2001.
They have: 2,256 posts
Joined: Feb 2001
I personally think the opposite about frames. I think that frames are very dated and most of the time not necessary.
It appears that the use of frames falls into several different camps.
None of those are good reasons.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
MarcD posted this at 12:59 — 10th October 2001.
They have: 38 posts
Joined: Oct 2001
Frames are the devil
tables are our savior
The Webmistress posted this at 13:02 — 10th October 2001.
She has: 5,586 posts
Joined: Feb 2001
Why were frames invented??????????????
Megan posted this at 13:10 — 10th October 2001.
She has: 11,421 posts
Joined: Jun 1999
Tables were never meant to be used for layout so that's probably one of the main reasons. I'm also guessing that they were probably invented before SSI, which meant that at the time they were the only way to keep one part of the page separate from another. All of our online courses here at work are set up in frames - probably because the courses are distributed on CD and can't take advantage of server-side functionality. (although some of the "design" people in the university just *really* like frames - you should see our website! I wasn't here when that decision was made so I'm not really sure)
Frames can be useful on some occasions but not often.
Or was that a rhetorical question?
Megan
Connect with us on Facebook!
The Webmistress posted this at 13:13 — 10th October 2001.
She has: 5,586 posts
Joined: Feb 2001
Rhetorical but nice answer
mairving posted this at 13:19 — 10th October 2001.
They have: 2,256 posts
Joined: Feb 2001
Are you trying to be rhetorical, Megan?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.