473,516 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing contents of 2 frames: Back button trauma in I.E.

Hi everyone,

Sincere apologies if this has been done to death before.

I have a frameset in 3 columns; 'leftmenu', 'main' and 'rightmenu'. The
content of 'leftmenu' remains the same throughout the site; when I open
a new page in 'main', I want its relevant sub-menu to appear in
'rightmenu'.

function Contents(newPage)
{
parent.rightmenu.document.location.href = newPage + "menu.html"
}

followed by:

<a href="software.html" target="main"
onclick="Contents('software')">Software</a>

will achieve this, as will:

function Contents(newPage)
{
parent.main.document.location.href = newPage + ".html";
parent.rightmenu.document.location.href = newPage + "menu.html"
}

and:

<a href="javascript:Contents('software')">Software</a>

(yes, I've read and understood article 4.24 of the FAQ...)

My problem starts on using the Back button, specifically in I.E. 5.5 and
6:- it (quite logically, I suppose) treats each change as a separate
step, so that one click returns the 'rightmenu' frame to its original
content, a second is needed for the content of 'main'. All beautifully
logical, but apt to confuse users. The Back button in Opera manages both
changes simultaneously.

Any suggestions?

MTIA,

Robin
--
www.newforestartgallery.co.uk
www.badminston.demon.co.uk www.robinsomes.co.uk
www.amazonian-fish.co.uk www.pisces-conservation.com
www.irchouse.demon.co.uk www.blackwell-science.com/southwood
Trust me, I'm a webmaster...
Jul 23 '05 #1
2 1775

"Robin Somes" <ro***@badminston.demon.co.uk> wrote in message
news:SM**************@badminston.demon.co.uk...

My problem starts on using the Back button, specifically in I.E. 5.5 and
6:- it (quite logically, I suppose) treats each change as a separate
step, so that one click returns the 'rightmenu' frame to its original
content, a second is needed for the content of 'main'. All beautifully
logical, but apt to confuse users. The Back button in Opera manages both
changes simultaneously.

Any suggestions?

MTIA,

Robin
--

Try placing some code into your unchanging frame, to check the names of the
documents loaded into the other two. The function could be triggered
periodically or by onload events.
--
Jul 23 '05 #2
In message <40********@mk-nntp-2.news.uk.tiscali.com>, Stephen Chalmers
<me@here.com> writes
My problem starts on using the Back button, specifically in I.E. 5.5 and
6:- it (quite logically, I suppose) treats each change as a separate
step, so that one click returns the 'rightmenu' frame to its original
content, a second is needed for the content of 'main'. All beautifully
logical, but apt to confuse users. The Back button in Opera manages both
changes simultaneously.
--

Try placing some code into your unchanging frame, to check the names
of the documents loaded into the other two. The function could be
triggered
periodically or by onload events.


Thanks; I see your point - I should have mentioned in my original post
that the left (unchanging) frame is the one containing the links and
script.

cheers,
robin
--
www.newforestartgallery.co.uk
www.badminston.demon.co.uk www.robinsomes.co.uk
www.amazonian-fish.co.uk www.pisces-conservation.com
www.irchouse.demon.co.uk www.blackwell-science.com/southwood
Trust me, I'm a webmaster...
Jul 23 '05 #3

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

Similar topics

3
1775
by: Thomas Brooks | last post by:
Hi all... Quick question for you. I'm trying to change the contents of a frames page after a user has successfully logged in. I'm running into a little bit of difficulty. Here's what I have thus far... I have a simple contents-type frame. The left frame is a login page (login.asp) and the right frame is a welcome page (welcome.htm). ...
3
10145
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 of a dynamically created html contents rather than a static html file. Thanks.
14
2121
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left Frame (File LeftEx8_2.html) a series of buttons, which when clicked prompt the user to enter information for background color, text color, link...
12
1764
by: Adam Lipscombe | last post by:
Folks, I need to get the contents of a form attribute. In Read/Write mode this is field, so I can use getElementById("name").value In ReadOnly this is just plain text, so I can use getElementById("name").innerText. I need to do it dynamically though, so is there anyway I can look at the object returned by getElementById() and determine...
3
2451
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a button inside a-tag with attribute target isn't anything new relating ASP.Net, its same old HTML). He claimed that you could change another page´s...
7
2932
by: Sakharam Phapale | last post by:
Hi All, How to preserve the old font properties while changing new one? I posted same question 2 months back, but I had very small time then. eg. "Shopping for" is a text in RichTextBox and already formatted as "Shopping" ---Bold "for" -----Regular Now I want to underline whole text by preserving old style i.e. Bold and
2
1978
by: Schraalhans Keukenmeester | last post by:
I have a page consisting of three frames. Top frame shows db rows, middle frame shows contents of a file, bottom frame has buttons to change file/row status and/or delete them. The desired bahaviour: after clicking the "change status" or "delete" button in bottom screen, the top and middle frames immediately show updated data. Achieving...
3
2286
by: David Virgil Hobbs | last post by:
I discovered how to write out the inner HTML of the contents of an Iframe; I want to know how to write out the outerHTML of the contents of an Iframe. frames.document.body.innerHTML allows me to read the inner HTML of the contents of an iframe and also allows me to write out the inner HTML of the contents of an iframe. However using...
0
1106
by: execrable | last post by:
I am writing a simple (maybe a bit conveluded, but I just started learning Tkinter) program that uses a 'notebook' code snippet from a python cookbook. It creates a customizable frame and radio button for each 'tab' and uses .forget to hide the frames that aren't 'current'. I modified it to use a Scale slider bar instead of radio buttons. ...
0
7276
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, 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...
0
7182
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...
0
7408
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. ...
0
7581
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5110
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...
0
3267
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...
0
3259
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1624
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
0
488
bsmnconsultancy
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...

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.