BabyJeffy said:
modern sites are built to run with or without javascript... they degrade so that non-javascript users can get the same functionality
Personally, I agree and when developing websites, javascript is the last thing that I add to the site. I create the site so that it is accessible to all users regardless of whether they have javascript enabled. I've always been of the opinion that javascript should only be used to enhance the site and should not be relied on (feel free to correct me if anyone disagrees with this!). Most sites that use frames go against this as they rely on javascript to keep the frames in sync with what the user should be viewing. For example,
Take your site Clive (
and imagine I am searching google for your site (I hope you don't mind that I used your site for an example but this does describe some of the problems I see with framed sites, and as you use them extensively you are probably best placed to counter these arguments). I used the search term "tubularity professional website" and came up with the following results:
The first result that I see is the information that I'm looking for and therefore click the link to go into your site. This is where the experience starts to differ depending on my browser and therefore I'll explain the two different scenario's I got. I often don't have javascript capabilities so I'll explain what happened with this first:
1) Without JavaScript
Clicking the link took me to
where I could see a box with a description, some features and a link to a sample site. What I couldn't see was a logo of what site I was on, nor could I see any text of which site I was on. There was no navigation menu so I couldn't get back to the site's homepage to view any other details that I may have wanted to view.
2) With JavaScript
Clicking the link took me to
where, with the help of this javascript function:
Code:
if (top.location == self.location) {
self.location.replace
("index.php")
I was redirected to
This wasn't actually the page that I wanted to view, but that didn't really matter as a menu was available to me and I could click on the Professional Website button to get me to where I was originally going.
Now, with the first scenario I was obviously a bit lost and I don't think that would be the type of experience I would want to have my user's to have, especially if that was their first impressions of my site and the services I offered.
The second scenario however, is exactly the type of experience I would want to have my user's to have (maybe apart from being redirected back to the index page). The site was well laid out, I was easily able to navigate it and the response time was very quick. However, I now know that users without javascript will be having a very hard time of it and I would try to rectify that.
If the site had been created without frames then I would have to include the menu as part of each page and there would obviously be an overhead to this. According to my browser, the menu page is actually only 2.25 kB (2299 bytes). This, to me, is a fairly small overhead to have on each page and, if it means that I don't have to worry about user's without javascript or users who want to bookmark a particular page and not be redirected back to the index page when they try to view that bookmark, then I would be much happier to go with that.
I really like the idea of having a quick response whenI click a link, and that only certain parts of the page are refreshed as necessary but I do think the use of frames has overcomplicated what is a relatively straight-forward website.
Balancing the two scenario's results above, I would always go with the intentions of appealing to a wider audience regardless of their browsers settings and therefore I'd go with a non-framed site in both this and most web applications that I developed. This maybe just a personal preference, but I believe it's one that is fully justified and one that a lot of people will also have. If anyone doesn't agree then please feel free to show what solution could be implemented to avoid those issues.
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.