AltynbekKZ / galleriffic

Automatically exported from code.google.com/p/galleriffic
0 stars 1 forks source link

tagging with galleriffic #238

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generall question, not an issue

What is the expected output? What do you see instead?
Include a Tagging Function

I want to use galleriffic with neal grosskopf 
(http://www.nealgrosskopf.com/tech/thread.php?pid=62) tagging function.

is there a way to merge the two scripts?

first: I changed the following code snippet:
                // Construct new hidden span for the image
                var newSlide = this.$imageContainer
                    .append('<span class="image-wrapper current"><a class="advance-link" href="javascript:function re{(return true;)}" title="'+imageData.title+'">&nbsp;</a></span>')
                    .find('span.current').css('opacity', '0');

and added a link "start tagging" to the photo description, which starts the 
function function startTagging()
{
    //Dynamically wrap image
    $("#slideshow").wrap('<div id="tag-wrapper"></div>');

...

this works well - but i have the following troubles.

When changing an image (clicking the navigation, a thumbnail or while slideshow 
is running), the tagging script should disable, because it's a new image ...

any idea?

or do you have a better solution?

thanks for your help!

Original issue reported on code.google.com by off...@trinews.at on 21 Aug 2011 at 6:45