Forum

magnificPopup: zoom...
 
Notifications
Clear all

magnificPopup: zoom on img src

1 Posty
1 Users
0 Reactions
1,075 Widok
0
Topic starter

example

1 Answer
0
Topic starter

not best but works

  $( document ).ready(function() {
    $(".article-text img").each(function() {
      $(this).magnificPopup({
        items : {
          src: $(this).attr('src')
        },
        type: 'image'
      });
    });
  });

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: