By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,320 Members | 2,239 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,320 IT Pros & Developers. It's quick & easy.

back button in iframes

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
does anyone have any clues?
Jul 20 '05 #2

P: n/a
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

P: n/a
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.