Hi,
My website uses frames and one should always load the frameset and not
only one of the frames. Is there a nice way to ensure/check that a page is
actualy loaded within a frameset?
thanks,
David 19 6472
David de Kloet wrote: Hi,
My website uses frames and one should always load the frameset and not only one of the frames. Is there a nice way to ensure/check that a page is actualy loaded within a frameset?
Well, if you must use frames...
Putting the following in the head of your pages will mean that, in the event
of a frame being loaded without the frameset, the page will default to
index.html. Whilst this doesn't give the visitor the framed page that they
were expecting, it does give them a complete frameset with a menu so that
they can at least navigate the site.
<script language="javas cript">
if (document.locat ion == top.location)
{
document.locati on="index.html" ;
}
</script>
I'd also suggest that there are lots of ways of getting rid of frames - the
"I want to have the same menu on every page without repeating it" is the
benefit that I hear most often and that's easily solved with includes: http://www.bignosebird.com/sdocs/include.shtml
HTH
--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
On Tue, 8 Jul 2003, PeterMcC wrote: Well, if you must use frames...
I know what you mean.
<script language="javas cript"> if (document.locat ion == top.location) { document.locati on="index.html" ; } </script>
Thanks, just what I was looking for.
I'd also suggest that there are lots of ways of getting rid of frames - the "I want to have the same menu on every page without repeating it" is the benefit that I hear most often and that's easily solved with includes: http://www.bignosebird.com/sdocs/include.shtml
I'm aware that you should reconsider the moment you want to you frames but
I think frames serve a purpous on my site so I'll just keep my frames.
David
On Tue, 08 Jul 2003 11:52:50 +0200, David de Kloet wrote: Hi,
My website uses frames and one should always load the frameset and not only one of the frames. Is there a nice way to ensure/check that a page is actualy loaded within a frameset?
thanks,
David
Yes. Never, *ever*, use frames.
problem solved.
--
Jeffrey D. Silverman | jeffrey AT jhu DOT edu
Johns Hopkins University | Baltimore, MD
Website | http://www.wse.jhu.edu/newtnotes/
> > My website uses frames and one should always load the frameset and not only one of the frames. Is there a nice way to ensure/check that a page
is actualy loaded within a frameset?
Yes. Never, *ever*, use frames.
problem solved.
That's silly. There are several places when using frames is a good idea.
One example that comes to mind is firmware for a router or somesuch that has
a web interface. No PHP or ASP server can be run there, so frames provide a
good way to show a menu on all pages.
If they were pointless, then W3C would have depreciated them long ago.
On Tue, 08 Jul 2003 16:28:33 +0100, Marc wrote: > My website uses frames and one should always load the frameset and not > only one of the frames. Is there a nice way to ensure/check that a > page is > actualy loaded within a frameset?
Yes. Never, *ever*, use frames.
problem solved.
That's silly. There are several places when using frames is a good idea. One example that comes to mind is firmware for a router or somesuch that has a web interface. No PHP or ASP server can be run there, so frames provide a good way to show a menu on all pages.
If they were pointless, then W3C would have depreciated them long ago.
Yes, but he is not developing firmware for a router, is he?
As far a 94.8% of website devlopment goes, frames are a bad idea. This
means, for all intents and purposes, *never* use frames.
Allright, allright, I get your point. Okay, I amend my statement.
Only use frames if you *really* *really* *really* know what you are doing,
or are developing firmware for a router.
later...
--
Jeffrey D. Silverman | jeffrey AT jhu DOT edu
Johns Hopkins University | Baltimore, MD
Website | http://www.wse.jhu.edu/newtnotes/
"Marc" <me@privacy.net > wrote: That's silly. There are several places when using frames is a good idea. One example that comes to mind is firmware for a router or somesuch that has a web interface. No PHP or ASP server can be run there, so frames provide a good way to show a menu on all pages.
1. Why do you need to show a menu on all pages? Isn't a link back to a
dedicated menu page as good if not better?
2. Even if you need to show a menu on all pages why does it need to be
in a frame and not part of the real page?
If they were pointless, then W3C would have depreciated them long ago.
ITYM deprecated (no 'i'). And is 1997 long enough ago for you? Frames
were deprecated as soon as they were standardised.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
On Tue, 8 Jul 2003, Jeffrey Silverman wrote: On Tue, 08 Jul 2003 16:28:33 +0100, Marc wrote:
Yes. Never, *ever*, use frames.
problem solved. That's silly. There are several places when using frames is a good idea. One example that comes to mind is firmware for a router or somesuch that has a web interface. No PHP or ASP server can be run there, so frames provide a good way to show a menu on all pages.
If they were pointless, then W3C would have depreciated them long ago.
Yes, but he is not developing firmware for a router, is he?
No I'm not. I have two frames, left and right. At the left you can search
a database and get results. If you click on a search result at the left,
the frame at the right displays details about the chosen result.
If you know "Magic: the Gathering" you can try it at: http://www.cs.vu.nl/~dskloet/magic
How would you replace these frames?
As far a 94.8% of website devlopment goes, frames are a bad idea. This means, for all intents and purposes, *never* use frames.
Allright, allright, I get your point. Okay, I amend my statement.
Only use frames if you *really* *really* *really* know what you are doing, or are developing firmware for a router.
later...
David
PeterMcC wrote: Putting the following in the head of your pages will mean that, in the event of a frame being loaded without the frameset, the page will default to index.html. Whilst this doesn't give the visitor the framed page that they were expecting, it does give them a complete frameset with a menu so that they can at least navigate the site.
Example of what happens when you use this method. (Real example)
A user (lets call him 'David Dorward') searches Google for information.
David finds a site with the information.
David clicks the link and waits for page to load.
David looks for the information.
He can't find it.
After a while he goes back to google and looks for a different side with the
information on it.
(Then becuase he can't find any other site (unusual) he disables JS, goes
back to the site, and notices that it looks entirely different to the way
it looked last time - becuase without JS he didn't get redirected to the
homepage).
--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade): http://minutillo.com/steve/weblog/20...ces-ie-is-dead This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: les |
last post by:
Hello,
I just wonder what are the implications to use frames to build portal. I've
seen some sites that are quite fast with frames but I just wonder if there
are hidden "costs".
I've tried to use in the past and I run into a lot of problems when I worked
with environment where there were frame and no frames pages.
Please let me know if...
|
by: JohnnyCJohnny |
last post by:
Is it pretty safe to say that almost all web surfers now use browsers
that are Frames compatible? What are most people using these days?
IE?
Thanks
|
by: David Hayes |
last post by:
I tried finding an answer on http://www.quirksmode.org/ without success.
I am attempting a complicated Frames structure. I have made it work in IE,
but not Netscape.
I begin with three frames, where the two lower ones are within a Frameset
within the master Frameset:
1111111111111111111
|
by: Neal |
last post by:
Of course, every frame site I've ever seen has reduced usability and all.
We've been through this before.
But as frameset is still a part of HTML, there must be some legitimate use
for it, hmm? For most markup I know when it's useful and when it's not,
but regarding table markup I sure know when it isn't good, but can't
really come up with...
|
by: Steal |
last post by:
Hi at all
I try to validate this page using the link: http://validator.w3.org/
but it return that this is not a valid HTML 4.01 page
please where is it error?
Steil
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
| |
by: Dfenestr8 |
last post by:
Hi. I'm designing a site, and I'm trying find a way of browsing it without
using frames, so I can test the <noframes> </noframes> tags.
I use a linux mandrake 10 system, with KDE 3.2.
Is there a browser for linux that doesn't use frames? Or is it possible to
configure either firefox or konqueror to not use frames?
|
by: dj Bass |
last post by:
simple, they don't like things that restrict the server-side controls... and
when it comes to frames, you need client side stuff and that stuff's up the
asp.net strategy.
right or wrong?
|
by: Nish |
last post by:
Is HTML frame is an old technology? Will the modern web application are
developed using the HTML frames? Does all the browsers support them?
Thank you for your suggestion,
Nish
|
by: Deepan HTML |
last post by:
Hi All,
Currently i am working in a framed environment where i have
divided the window as 20% and 80% and the 20% is used for navigation
purpose and right frame for displaying the orignal content. Now i want
to Disable ad Enable the menu items which are placed in the left frame
for navigation purpose.
Can any of you input me with any idea...
|
by: Mark |
last post by:
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and another
on the right side.
I don't know how to do it. So please help me with it.
I'll appreciate any help/example you can provide.
I am using visual studio 2005.
Thanks, Mark
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |