How do I add a 'go back' type button to a thumbnail

S

Sean C

When you click on a thumbnail it opens up into a larger size in a new window,
but how do I add a go back button rather than using the forward or backwards
button on my browser?
 
T

Trevor Lawrence

Sean C said:
When you click on a thumbnail it opens up into a larger size in a new
window,
but how do I add a go back button rather than using the forward or
backwards
button on my browser?

Try adding this
<input type="button" value="Back" onclick="history.back()" />
into the new window

(Use the Code or HTML view and paste it in )
 
S

Sean C

Hi Trevor,

Many thanks for replying to my post, but how do I find the window/file that
the jpeg opens up in to paste the code you kindly gave to me. I have added it
as a trial on the actual site page where the thumbnails are and it looks and
works fine, but I need it on the enlarged page that comes up when you click
on the thumbnal if that makes sense. I have used the Autothumbnail creater
that you get when you right click any photograph in FPage if that helps, not
a new page for each photograph. as that would add so much time to the project.

Regards,
Sean.
 
R

Ronx

It is only the image that opens in the window - you need to create a new
page, then add the large image and close window button to that page.
Change the link on the thumbnail to open the new page in the new window.
 
D

Dan L

If you're opening a new window then you can't "go back" because there is no
history in the new window. Simply have visitors close the new window and
they'll be back on the thumbnails page. You can use JimCo's free Spawn
software to size the new window to open smaller and then visitors will see
your open window behind the new one.

http://jimcosoftware.com/addins.aspx
 
S

Sean C

Thanks to both Dan L and Ronx for their advice, spot on! Sometimes you
cannot see the wood for the trees as they say. All sorted now and I have
learnt a new skill into the bargin, so a good day in Rutland.
Regards,
SEan.
 

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

Top