jquery - how to add an increase of pictures fotorama plugin -


I try to add an increase in the pictures by clicking on the plugin footer. I use this code to increase the active code, but this code works for all the elements on the page.

  Jkweri ( "div: Kntans ( 'Fotorma__stej__frem Fotorma__fade__frem Fotorma__fade-rear Fotorma__loded Fotorma__loded - Img Fotorma__aktiv') ( 'Young Kfotorma__yng')"). Click (function () {var o = jQuery (this). Parent (); var url = jQuery ( "div: contains ( '- img fotorama__active')"). Attr ( 'src'); var html = '& lt; a href = "" class = "clone" & gt; & lt; img src = " '+ url +'" /> & lt; / a & gt; 'o.append (html); o = o. Find ('clone'); o.animate ({}); console.log ('click'); o.click (function () {jQuery ('clone'). Remove ();});});   

How to fix this bug? - An example of my code on this page.

If you use a very odd selectors jQuery ( ". Fotorama__img") Try it. (...) and jQuery ("Fotorama__stage__shaft. Fotorama__active img") . Moreover, it seems that you fotorama: showend event should get a larger image source, because it asynchronously rendered for more information.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -