473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

(X)HTML, Javascript and Frames

Hi,

I'm kind of new in using Javascript and wonder what are the pro's and
con's for using frames as a means to navigate and/of split the 'screen'
in a functional way? And are there alternatives?

Thanks!

Jan 27 '06 #1
5 1236
Linvo wrote:
Hi,

I'm kind of new in using Javascript and wonder what are the pro's and
con's for using frames as a means to navigate and/of split the 'screen'
in a functional way? And are there alternatives?


http://www.apptools.com/rants/framesevil.php

Mick
Jan 27 '06 #2

Linvo wrote:
Hi,

I'm kind of new in using Javascript and wonder what are the pro's and
con's for using frames as a means to navigate and/of split the 'screen'
in a functional way? And are there alternatives?

Thanks!


Frames Pro:

1. Anything static can be visible all the time, e.g., navigation,
company logos, banner, etc.

Frames Con:

1. Search engines may not be able to properly spider a framed site.
2. Bookmarking a page generally don't work. (but there are
workarounds)
3. Not all browsers support frames (not sure how true this is anymore)
4. Sometimes, you also need to make a non-framed version, thus raising
maintenance

Alternative:

1. You can use <iframe>.

Jan 27 '06 #3
web.dev wrote:
[...]
Frames Con:

1. Search engines may not be able to properly spider a framed site.
2. Bookmarking a page generally don't work. (but there are
workarounds)
3. Not all browsers support frames (not sure how true this is anymore)
4. Sometimes, you also need to make a non-framed version, thus raising
maintenance

Alternative:

1. You can use <iframe>.


The same cons apply to the `iframe' element, so it is not an alternative.
In fact, there a user agents that support the `frame' element but not the
`iframe' element, so that introduces one more con compared to `frame'.
PointedEars
Jan 28 '06 #4
Thanks for the reply's.
In summery it look's to me that "pre-fab" navigation (back-button,
bookmarking, search engines) can have problems with frames. What is a
good alternative for frames in (X)HTML for being able to keep the
static aspects of a website visible without rewriting them everytime?
And what role can Javascript play in the distinguishing between static
aspect of the website and the dynamic parts?

Jan 29 '06 #5
Linvo wrote:
What is a good alternative for frames in (X)HTML for being able to keep
the static aspects of a website visible without rewriting them everytime?
Visible all the time? To not. Screen real estate is too valuable to clutter
it up with content the user can get to with one tap of the home key (or a
quick drag of the scrollbar to the top).

On multiple pages? http://allmyfaqs.net/faq.pl?Include_one_file_in_another
And what role can Javascript play in the distinguishing between static
aspect of the website and the dynamic parts?


Don't distinguish. The user doesn't care how the pages are put together.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 29 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Chen | last post by:
I need to use iframe to create a floating frame. But the contents in the iframe is not a external html file. Rather, it will be dynamically created by jsp. How can I set the src attribute to a URL...
13
by: gsb | last post by:
Object tag to write HTML page to via JavaScript? I've used iFrames and Objects to load web pages into another page. I want to do similar but not load a uri, rather write the page, <HTML>...
1
by: cirillo_curiosone | last post by:
Hi, i'm new to javascript. I started studing it on the web few weeks ago, but still haven't been able to solve one big problem: HOT TO PASS VALUES FROM A SCRIPT VARIABLE TO A CHILD HTML...
1
by: Ajar | last post by:
Hi, Using urllib2,ClinetForm and ClinetCookie modules I have logged into my ISPs web site and managed to fetch the first page. Now, on this page there is this link: <a href="#" ...
3
by: Jofio | last post by:
In my frame based page, I have a hyperlink in the top frame called "header" which, when I click, should make two different pages to be loaded and displayed into two different frames, namely...
26
by: gswork | last post by:
i hadn't designed a web page from the ground up for about 9 years, then i was asked to do one. I'd dabbled with html and vaigly kept up with some of the developments but other than that i've been...
6
by: Ashok | last post by:
Hi, I am starting a new project to build a software product using APS.NET 2.0. In past I have used "frameset" and "frame" to build pages. My current requirements I have coded using frameset and...
14
by: Silver | last post by:
I have a main page that includes one menu and one iFrame. Depending on the selections made on a menu, a different html page is loaded inside the iFrame. The menu is just a list of <a href=...> ...
3
by: thompson_38 | last post by:
I am currently working on a C# application that uses an axWebBrowser control which displays HTML pages. This is being done to reuse an existing web application which resides on a client's...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.