473,738 Members | 8,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using history in frameset

Ian
I'd appreciate some help on this one.

We use a three-window frameset for online manuals. The "main" window
contains our document. Since the documents have hyperlinks between
them for related topics, we have "return" links built into a
navigation bar on some of the pages. Most of the time these work
fine, but if the person clicked on the top or left frame before
clicking on the "return" link, the wrong frame is changed.

Does anybody know how to alter the script so that only the main
document window is in focus? Here's the script we use in the page:

<a href="javascrip t:history.go(-1);">Back</a>

By the way, this is for a company Intranet - with all users on IE5.5
as a minimum.

Thanks.

Ian Hubling
ia*@hubling.com
Jul 20 '05 #1
1 2790
VK
history is a method of window object, so the full syntacs is
window.history. go(-1)
(as default parent object 'window' is mostly ommited in scripting to save
the space)

discovering the parents makes your task easy; for a named frame "main" the
command will be:
top.main.histor y.go(-1)
it will work from any frame no matter where the focus is.

Ian <ia*@hubling.co m> wrote in message
news:44******** *************** **@posting.goog le.com...
I'd appreciate some help on this one.

We use a three-window frameset for online manuals. The "main" window
contains our document. Since the documents have hyperlinks between
them for related topics, we have "return" links built into a
navigation bar on some of the pages. Most of the time these work
fine, but if the person clicked on the top or left frame before
clicking on the "return" link, the wrong frame is changed.

Does anybody know how to alter the script so that only the main
document window is in focus? Here's the script we use in the page:

<a href="javascrip t:history.go(-1);">Back</a>

By the way, this is for a company Intranet - with all users on IE5.5
as a minimum.

Thanks.

Ian Hubling
ia*@hubling.com

Jul 20 '05 #2

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

Similar topics

8
3535
by: Hans | last post by:
Hi There, I have a page that has links with some variables and I need to open the results set in a frameset. I have tried doing this in various different ways, but still cannot get the variable passed to the relevant frames within the frameset. What is the best way of getting this done. Thanks Hans
1
11015
by: JP | last post by:
Hi, How can I create a dynamic frameset whose content changes based on user inputs? Specifically, how do I toggle a frame within a frameset? How can I allow a user to "close" or "dock" a frame by clicking on some button and let the parent update its frameset layout? What I've been trying to do is for the child frame to send a message
7
9016
by: Scott | last post by:
I need help to modify the code below to pass url variables from a framset. The click to run this will be in the mainFrame. This script works well in a non-frame page. Grabs the current url variables and adds them to my url. <script type="text/javascript"> //<!]> </script>
1
3234
by: Justin | last post by:
Hi, I have a simple frameset defined: ---------------- index.html ---------------- <FRAMESET COLS = "225,*"> <FRAME NAME = "a" SRC = "one.html"> <FRAME NAME = "b" SRC = "one.html"> </FRAMESET>
1
2186
by: rbowie | last post by:
Hi there im tryin to nav to a frame using javascript. I have a frameset within a frameset. I want to be able to navigate from the inner most frameset to an outer frame. So frame i have only managed to nav to a frame within the current framset using the following code:
5
2072
by: Michelle Stone | last post by:
Hi everybody I am writing a simple asp.net application using form authentication. I store the list of all users and their passwords in an SQL Server database table. My client recently told me that he wants me to do something through which only one user can login using any given account name. I mean to say, for example, when a user called "abc" is online, another person shouldn't be
1
6746
by: Mark Baker | last post by:
Hi, I am using Cookieless Forms Authentication. Due to this I get the session ID in the URL as follows: http://localhost/testcookie/(S(112ny2vvuypkkg55pzcyk4qd))/default.aspx How can I hide this session Id string from being displayed in the URL while using Cookieless form authentication?
2
2700
by: merababa | last post by:
Hi all i have the frameset as below.. <frameset frameborder="1" border="1" framespacing="0" rows="*,3%" > <frameset border="1" frameborder="1" framespacing="0" cols="20%,80%"> <frame id="lframe" name="menuFrame" runat="server" src="AcplMenu.aspx" noresize="noresize" /> <frameset border="1" frameborder="1" framespacing="0" rows="10%,*"> <frame id="headerFrame" name="headerFrame" runat="server"...
4
3745
by: maminx | last post by:
Hello..i have problem, hope someone can help me..i have this frameset below : <FRAMESET ROWS="55%" COLS="37%,63%"> <FRAME NAME="runningTrade" SRC="http://runningtrade.com" scrolling="no"> <FRAMESET ROWS="33%" COLS="51%,49%"> <FRAMESET ROWS="34%,34%,35%" cols="*"> <FRAME NAME="orderBook" SRC="http://od.com" scrolling="no"> <FRAME NAME="orderBook2" SRC="http://od2.com" scrolling="no"> <FRAME NAME="OrderBook3" SRC=""...
0
8969
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9476
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...
0
9335
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9208
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...
0
6053
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
4570
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
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
2745
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.