Open GoogleCodeExporter opened 9 years ago
Would love to know how to do this as well.
Original comment by rtil...@gmail.com
on 6 Jun 2011 at 1:38
Open the file jquery.galleriffic. and find the following section:
// Construct new hidden span for the image
var newSlide = this.$imageContainer
.append('<span class="image-wrapper current"><a class="advance-link"
rel="history" href="'+this.data[nextIndex].hash+'"
title="'+imageData.title+'"> </a></span>')
.find('span.current').css('opacity', '0');
Now, change the href="'+this.data[nextIndex].hash+'" title="'+imageData.title+'"
You can simple delete the code inside the quotes making it this way href=""
If you want a more precise control over the href of the large images, follow
this link:
http://stackoverflow.com/questions/3104811/galleriffic-links
Peace
Original comment by sirze...@portugalmail.com
on 10 Jun 2011 at 4:42
Cool, thanks. That worked to some extent. It still shows an active link,
however it simply reloads the page when clicked...
It would be great to get rid of the href completely, my feeble attempts at that
disabled the script.
Thanks again!
Original comment by rtil...@gmail.com
on 10 Jun 2011 at 5:26
Glad you made it :)
About the active link reload situation, just do one of the two following
methods:
1. delete the href completly, it is not necessary, here in FF 3.6.1.7 and IE
9.0, is working perfectly;
2. Or use href=#" and modify this section in the galleriffic.css file:
div.slideshow a.advance-link {
display: block;
cursor: default;
}
Original comment by sirze...@portugalmail.com
on 11 Jun 2011 at 4:58
thank you!!
Original comment by geshwa...@gmail.com
on 12 Jul 2011 at 12:19
sorry, this won't work for me.
Deleting href will refresh the page with the first image. I want to add a
"tagging function" to galleriffic.
Original comment by off...@trinews.at
on 18 Aug 2011 at 6:21
Original issue reported on code.google.com by
edwardke...@gmail.com
on 1 Jun 2011 at 5:32