Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="ribbon"><span>Sale</span></div>
- $("#items").on("click", "img", function () {
- var path = $(this).attr('alt');
- if (path != "none") {
- $('#model-image-img').attr('src', path);
- $('#model-title').text($(this).attr('data-title'));
- $('#model-image').modal('show');
- } else {
- return false;
- }
Add Comment
Please, Sign In to add comment