Back Button to go back in javascript history not prior image Back Button to go back in javascript history not prior image
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Back Button to go back in javascript history not prior image

Started by JesseLeeStringer, August 16, 2006, 02:07:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JesseLeeStringer

Hi All.

I've searched the forums for a solution and as it looks like noone else has requested the following.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fmodform.com.au%2Fim2%2Fposts%2Fecard-images.jpg&hash=bf20b02330da7175088a11eaac15f88d012d944c)
I would like to create an alternative action for the boxed/circled arrow, usually defaults to previous image however in this case

I need the image to contain the function as onClick="history.back()"
I would like to remove the forward button as there is a film/movie strip already present.
Reason I would prefer that users click the image is well*
My client has 150px thumbnails and 3008px x 1960px originals. Intermediates cannot be used
These images are designed to be distributed to a range of people and is to act as a virtual gallery prior to shipping.
The download cart /my favourites cannot be used as his clients are usually behind corporate firewalls (ie not zip/rar)
and public viewings are a great security risk.

Sorry to rant

This is the code I would like used on the image/link

<FORM>
<INPUT type="button" value="Click here to go back" onClick="history.back()">
</FORM>



If someone can point me to the correct page/expected line I would highly appreciate it.


*They're all computer illiterate and if something doesn't work as it was intended by them 'it's broken'

Joachim Müller

You're free to edit your theme as you see fit, removing individual buttons or replacing them - your choice. However, the method to change/edit the button depends on your theme, so I can't post any advice without at least a link to your page or your custom theme zipped up and attached to your posting.

JesseLeeStringer

#2


Notes:
Theme has been modified quite substantially although not to proper standards ie non css modifications
The original theme is reynolds however has been made to work as the classic theme.
I see that I've lost karma for my post :-[

Joachim Müller

You're suppossed to zip up your theme, not rar it up. Not everybody has an un-archiver that supports rar archives. You're suppossed to attach it to your posting (using "additional options"), not posting a link to the archive. Read more carefully if you want support.
I recommend not starting a meta discussion about karma if you want actual support. There are postings that explain what behaviour can cost you karma - read it up if you want to find out more and avoid getting more negative karma.