coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: JesseLeeStringer on August 16, 2006, 02:07:12 PM

Title: Back Button to go back in javascript history not prior image
Post by: JesseLeeStringer on August 16, 2006, 02:07:12 PM
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'
Title: Re: Back Button to go back in javascript history not prior image
Post by: Joachim Müller on August 16, 2006, 02:25:06 PM
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.
Title: Re: Back Button to go back in javascript history not prior image
Post by: JesseLeeStringer on August 17, 2006, 09:17:58 AM


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 :-[
Title: Re: Back Button to go back in javascript history not prior image
Post by: Joachim Müller on August 17, 2006, 09:25:30 AM
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.