467,907 Members | 1,181 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,907 developers. It's quick & easy.

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
  • viewed: 2388
Share:
3 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Nick Tew | last post: by
4 posts views Thread by PiedmontBiz | last post: by
1 post views Thread by Carlos Alejandro Pérez | last post: by
2 posts views Thread by GRenard | last post: by
10 posts views Thread by Tim Streater | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.