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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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 )
 
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.
 
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.
 
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
 
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.
 
Back
Top