back button in iframes

N

Nick Tew

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,084
Latest member
HansGeorgi

Latest Threads

Top