473,883 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem targeting frame to be populated

Hi All,

I'm trying to put together a model presentation system consisting of
a:
-- "toolbar" row,
-- three columns for topics, subtopics and a workarea (content)
-- a "footer" row.

The topics column presents three links. When I click on the first
link, topic1a, I expect its content to presented in the subtopics
column. It gets presented in the topics column instead. How can I
correct this?

Thanks in advance for any help,
Richard

Model Presenter.html
-------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Websit e Development</title>
</head>
<noframes>
<body>
Your browser does not handle frames!
</body>
</noframes>
<frameset rows="10%,80%,1 0%">
<frame src="toolbar.ht m" name="toolbar">
<frameset cols="10%,10%,8 0%">
<frame src="topics.htm " name="topics">
<frame src="subtopics. htm" name="subtopics ">
<frame src="workarea.h tm" name="workarea" >
</frameset>
<frame src="footer.htm " name="footer">
</frameset>
</html>

topics.htm
---------------
<html>
<body bgcolor="#8F8FB D">

<h3>topics</h3>
<a href="topics1.h tm" show="subtopics ">Topic1</a>
<a href="topics2.h tm" show="subtopics ">Topic2</a>
<a href="topics3.h tm" show="subtopics ">Topic3</a>
</body>
</html>

Topics1.htm
------------------
<html>
<body>
<a href="'Topics1A .html" target="subtopi cs">Topics1a</a><br>
<a href="'Topics1B .html" target="subtopi cs">Topics1b</a><br>
<a href="'Topics1C .html" target="subtopi cs">Topics1c</a>
</body>
</html>

Mar 15 '06 #1
10 1812
Gazing into my crystal ball I observed "Richard Lionheart"
<RL******@USCom puterGurus.com> writing in news:1142393465 .984624.129340
@i40g2000cwc.go oglegroups.com:
Hi All,

I'm trying to put together a model presentation system consisting of
a:
-- "toolbar" row,
-- three columns for topics, subtopics and a workarea (content)
-- a "footer" row.

The topics column presents three links. When I click on the first
link, topic1a, I expect its content to presented in the subtopics
column. It gets presented in the topics column instead. How can I
correct this?

Thanks in advance for any help,
Richard

Model Presenter.html
-------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd"> <html> <head>
<title>Websit e Development</title> </head> <noframes> <body> Your
browser does not handle frames! </body>
By Golly! That's terrible, and so 80's.
<www.htmlhelp.c om/reference/html40/frames/noframes.html>

</noframes>
<frameset rows="10%,80%,1 0%">
<frame src="toolbar.ht m" name="toolbar"> <frameset cols="10%,10%,8 0%">
<frame src="topics.htm " name="topics">
<frame src="subtopics. htm" name="subtopics ">
<frame src="workarea.h tm" name="workarea" >
</frameset>
<frame src="footer.htm " name="footer"> </frameset> </html>

topics.htm
---------------
<html>
<body bgcolor="#8F8FB D">

<h3>topics</h3>
<a href="topics1.h tm" show="subtopics ">Topic1</a>
Here's your problem - there is no attribute SHOW for the frameset DTD, nor
any other. You are looking for TARGET, which you correctly in topics1.htm.
Topics1.htm
------------------
<a href="'Topics1A .html" target="subtopi cs">Topics1a</a><br>


--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Mar 15 '06 #2
On 14 Mar 2006, Richard Lionheart wrote:
<noframes>
Your browser does not handle frames!
</noframes>


This is as stupid as
alt="Your browser does not handle images!"

--
All free men, wherever they may live, are citizens of Denmark.
And therefore, as a free man, I take pride in the words "Jeg er dansker!"

Mar 15 '06 #3
On Wed, 14 Mar 2006, Richard Lionheart wrote:
<noframes>
<body>
Your browser does not handle frames!
</body>
</noframes>


I think you meant:

"Downgrade your browser now, to one that cannot disable frames"
Mar 15 '06 #4
Tim
Richard Lionheart wrote:
<noframes>
<body>
Your browser does not handle frames!
</body>
</noframes>

Alan J. Flavell: I think you meant:

"Downgrade your browser now, to one that cannot disable frames"


Or, "My authoring skills are impaired, you cannot browse"

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please destroy some files yourself.

Mar 15 '06 #5
Hi Adrienne,

Re: target = ...

Thank you very much. I was getting lost in the details, so I went to
this life-line, which came to my aid beautifully. I would have
extricated myself eventually, but this was so much more civilized.

Again, Many Thanks,
Richard

Mar 15 '06 #6
Hi Andreas,

Thanks for your response.
This is as stupid as
alt="Your browser does not handle images!"


But I wonder if this is really a constructive or even polite response?
Do you think I went out of my way to post some stupid code. Or do you
think I might be new to HTML authoring? Do you think I might have
gotten this code from I site widely consulted on things Internet, e.g.
W3Schools.com?

So how about telling me whether "noframes" was once used but is now
felt unnecessary, perhaps deprecated?

I'm glad to see you're proud to be a Dane. I'm sure if I, an American,
visited Denmark, I wouldn't be insulted for not speaking Danish well or
at all.

Regards,
Richard

Mar 15 '06 #7
Hi Alan,
I think you meant:
"Downgrade your browser now, to one that cannot disable frames"


Do you mean this code is unnecessary because virtually all browsers can
nowadays accommodate frames? Or do you mean I should have included
guidance of some sort for the poor user who has an old browser. Or do
you mean I should go into some other line of work instead of HTML
authoring?

Regards,
Richard

Mar 15 '06 #8
Gazing into my crystal ball I observed "Richard Lionheart"
<RL******@USCom puterGurus.com> writing in news:1142447408 .714422.57390
@u72g2000cwu.go oglegroups.com:
Hi Alan,
I think you meant:
"Downgrade your browser now, to one that cannot disable frames"


Do you mean this code is unnecessary because virtually all browsers can
nowadays accommodate frames? Or do you mean I should have included
guidance of some sort for the poor user who has an old browser. Or do
you mean I should go into some other line of work instead of HTML
authoring?

Regards,
Richard


There are many, many problems with frames and that is why you are
discouraged from using them. That being said, there _are_ valid reasons
why a site would use frames. They are not:
1. So that the menu stays in place for all pages
2. So that edits to a menu only have to be to one file
3. To provide scrolling part way down the page, keeping the header in view
all the time

Number 1 can be solved with CSS and some sort of server side include
Number 2 is solved by a server side include
Number 3 is solved with CSS

The only valid reason I can think of for using frames is that they are
resizeable, although most authors disallow resizing.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Mar 16 '06 #9
On Wed, 15 Mar 2006, Richard Lionheart wrote, quoting me:
I think you meant:
"Downgrade your browser now, to one that cannot disable frames"
Do you mean this code is unnecessary because virtually all browsers
can nowadays accommodate frames?


Not at all. I mean that advanced browsers allow the user to disable
frames quite deliberately, and it would be wise for you to accommodate
to their preferences, rather than trying to argue with them.

What I didn't mention is that there are browsing situations where
frames make no sense (e.g a speaking browser), and your accommodation
will be to their benefit also.
Or do you mean I should have included guidance of some sort for the
poor user who has an old browser.


I don't know what you have in mind as an "old browser". The old
browsers which I'm thinking of are those which don't allow the user to
disable frames - so they're stuck with your frameset whether they
like it or not.

The better ones, as I say, allow the user to choose your non-framed
variant, if you've had the perspicacity to provide one. Those users
*DO NOT* want to find that you've provided some silly text that argues
with their choice. Remember the principle that in business, nobody
ever won an argument with a customer[1]

On the other hand a browser like Lynx *does* have support for frames -
it just doesn't handle them in the way you might expect. So Lynx
users are irritatedly accustomed to seeing misguided authors telling
them that they can't use frames, along with the links which *do* give
them access to the frames.

I't all rather a mess; quite a number of experienced authors would
advise you to lose the compulsory-two-dimensional picture of frames,
and simply adopt a more flexible approach without them. Making a
properly accessible frame-based site, with its accessible fallback, is
feasible, but it needs extra work, and a certain minimum of expertise:
I'm one of the people who would advise against it, in general. And
especially when your reactions seem to show that you have a quite
narrow experience of the possible range of client agent situations.

Did I mention that getting frame-based sites to work well with search
engines also needs extra care?

cheers

[1] http://www.jahns-home.de/rentmei/html/opti.html

Mar 16 '06 #10

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

Similar topics

0
1148
by: Milestone | last post by:
Hi All, How do I specify the frame that I want a particular .aspx form to open into? I am using a standard frameset? Regards, Miles
37
2335
by: Patrik Huber | last post by:
Hello! I got the following Code in Assembler (NASM), which prints out "5" in realmode: mov ax, 0xB800 mov es, ax mov byte , '5' I want to do the same in gcc now, but I'm stuck. GCC doesn't like the
1
1211
by: Frances Valdes | last post by:
I have been struggling with this and would be really grateful if anyone could help. I have a page with 2 frames. I would like to use the page load event on the left hand page to use a variable to change the page in the right frame. On the left page it would look something like: Private Sub Page_Load etc dim NewHtmlPage as string
13
2886
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available here: http://s161149005.onlinehome.us/DEMOS/FF/RESIZE_PROB/main/frameset.asp It works fine in IE 6, but in Firefox, it is broken. Specifically, when the page/frameset first loads in either browser, it looks correct. But when you click the...
5
3545
by: H J van Rooyen | last post by:
Hi, I am struggling to get the pack method to do what I intend. I am trying to display user input in a seperate window, along with a little description of the field, something like this: Current entry Company : entered co. name First entry : entered stuff The second entry: more entered stuff
1
2179
by: sundarvenkata | last post by:
Is multi-targeting possible using Visual Studio Express? If not, do I have any other options to target a 1.1 framework using Visual Studio Express? Thanks for your help, Sundar
0
1039
by: NvrBst | last post by:
This may be a basic question... Anyway, the menu items that don't have NavigateUrl's yet do a "javascript _doPostBack(...)" and shows the item as selected. The items I give the NavigateUrls (Target is Another Frame), don't get selected after I click them. The url does get loaded in the target frame though. I think its assuming that the page is going to reload when I click the link but because the target is another frame it doesn't...
0
4953
by: bharathreddy | last post by:
Vs 2008 is the MS latest IDE for developing Windows, Web, Smart Device Applications. It comes along with .NET Framework 3.5, C# 3.0, LINQ, ASP.NET AJAX and VSTO . Now with the power of VS 2008 we can target multiple versions of .NET Framework. Installation steps here VS 2008 Multi-Targeting Support: Previously every VisualStudio release supports its own specific version of .NET Framework. That is VS 2002 with .NET 1.0 ...
0
9798
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10864
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10422
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7980
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7137
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6008
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4230
muto222
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.