473,473 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

back button in iframes

Hi,

Firstly, any help would be gratefully received. Im using several
iframes on a single page and would like individual 'back' and
'forward' buttons located in each of the iframes which only relate to
the information inside the iframe.

Ive managed to put 'back' and 'forward' buttons on each of the
iframe's by using:

<INPUT type='button' value='Back' onclick='history.back(-1)'>
<INPUT type='button' value='Forward' onclick='history.forward(1)'>

but when clicked it uses the history of the whole page rather than
just that inside the iframe.

Can you make the buttons located in the iframes only change histroy
inside the indiviudal iframe?
Jul 20 '05 #1
3 2655
does anyone have any clues?
Jul 20 '05 #2
In article <1a**************************@posting.google.com >,
ni******@budgens.co.uk (Nick Tew) writes:
does anyone have any clues?


I have clues.

Clue 1: Its unplugged.
Clue 2: It doesn't work.
Clue 3: The speakers are in the closet.
Clue 4: I hear no music when I try to turn it on.

Question: Why doesn't my stereo work?

One should, at a minimum, quote what they are replying to.
--
Randy
Jul 20 '05 #3
In article <1a*************************@posting.google.com> ,
ni******@budgens.co.uk (Nick Tew) writes:

Hi,

Firstly, any help would be gratefully received. Im using several
iframes on a single page and would like individual 'back' and
'forward' buttons located in each of the iframes which only relate to
the information inside the iframe.

Ive managed to put 'back' and 'forward' buttons on each of the
iframe's by using:

<INPUT type='button' value='Back' onclick='history.back(-1)'>
<INPUT type='button' value='Forward' onclick='history.forward(1)'>


And if there is no history? It would be hard for either of those buttons to
work when the page is first loaded.

Right Click>Back
Right Click>Forward

Stop trying to reinvent the browser and adding buttons/features that already
exist.
--
Randy
Jul 20 '05 #4

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

Similar topics

1
by: Nick Tew | last post by:
Hello, This relates to the previous post i've left. This problem is do with the browser's back and forward buttons. When clicked, can it be made to affect any history NOT in the iframes....
4
by: PiedmontBiz | last post by:
Greetings I have written an online survey with 110 questions. I use javascript to cycle thru all the questions which are displayed in an iframe. I keep track of the question number using a...
1
by: user | last post by:
I have a parent aspx page with a few iframes. Each of the iframes show an aspx page with a datagrid whose rows all show editable entry fields at all times. The user can enter values into the parent...
1
by: Carlos Alejandro Pérez | last post by:
hi I need to perform this sequence: - a webform A calls another webform B. Webform B should be a modal one - when data is entered in webform B, the user chooses close window - the data must be...
2
by: GRenard | last post by:
Hi, I'm wondering how Gmail do to make the Back Button pointing to the correct page since they loads data with XmlHttpRequest ? Do they load a page each time with JS framework and AFTER it loads...
10
by: Tim Streater | last post by:
I have a form and a button to submit it. The button is made from: <input type=button onclick='myHandler(this.form);'> This all works fine except that in Safari 2.0.4, the enter/return keys, if...
1
by: enthusiastic | last post by:
Hi All I have a HTML page where I dynamically created 2 Iframes. The problem is, after this page is loaded & I navigate to some other page & come back using browsers back button, both of the...
0
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,...
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...
0
agi2029
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,...
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: 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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
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.