coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: tourphish on January 07, 2010, 12:45:36 AM

Title: adding an anchor to the end of every link
Post by: tourphish on January 07, 2010, 12:45:36 AM
Hello,

I am in need of adding an anchor tag (#gallery for example) to each link within the gallery.    I did some research here and saw that others have the same issue / request (our designs are such that each time you view a thumbnail / gallery, you have to scroll down past the header and we want the user to be right at the start of the gallery each time).       However, no one seems to have a clear solution to this.   

Can anyone help me out?    I figure I have to edit a few of the displayimage / showthumb files to have it add the anchor tag , but I don't know where to start.   

Thanks,
Mike
Title: Re: adding an anchor to the end of every link
Post by: Jeff Bailey on January 07, 2010, 01:04:29 AM
first a link to your gallery  ;)
http://forum.coppermine-gallery.net/index.php/topic,55415.0.html
Title: Re: adding an anchor to the end of every link
Post by: tourphish on January 07, 2010, 01:06:51 AM
Sure thing - http://www.360signs.com/products 

Thanks!
Title: Re: adding an anchor to the end of every link
Post by: Jeff Bailey on January 07, 2010, 01:10:15 AM
I see that the footer link is still there but it looks like you hid it with css. Please change the .footer color so that it is visible.
Title: Re: adding an anchor to the end of every link
Post by: tourphish on January 07, 2010, 01:14:39 AM
Not hid on purpose, that was shared by the main template footer, which caused the color issue.  Fixed.
Title: Re: adding an anchor to the end of every link
Post by: Jeff Bailey on January 07, 2010, 01:16:01 AM
Nice website by the way.
Read this thread for your answer -> http://forum.coppermine-gallery.net/index.php/topic,62902.msg312659.html#msg312659
Title: Re: adding an anchor to the end of every link
Post by: Jeff Bailey on January 07, 2010, 01:18:46 AM
When you changed the css to correct coppermines footer it looks like you messed up your own.
Title: Re: adding an anchor to the end of every link
Post by: tourphish on January 07, 2010, 01:28:34 AM
Yes, I have to address that tomorrow.  Thanks for the link! I will go through your directions shortly.