Bug Tracker

Opened 8 years ago

Closed 8 years ago

#15122 closed bug (notabug)

Jquery imagdrag and clone not working in ipad

Reported by: mpsaravanan Owned by:
Priority: high Milestone: None
Component: unfiled Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:

Description

Here is my code. This code working fine in desktop and mobiles but not working in ipad only.

function showFly(id){

var cart = $('.destination');

var imgtodrag = $(".flythisproject_"+id).find("img").eq(0); if (imgtodrag) {

var imgclone = imgtodrag.clone()

.offset({ top: imgtodrag.offset().top, left: imgtodrag.offset().left

})

.css({ 'opacity': '0.5',

'position': 'absolute', 'height': '50px', 'width': '50px', 'z-index': '100'

})

.appendTo($('body')) .animate({ 'top': cart.offset().top + 10,

'left': cart.offset().left + 10, 'width': 75, 'height': 75

}, 1000, 'easeInOutExpo');

setTimeout(function () {

cart.effect("shake", {

times: 2

}, 200);

}, 1500);

imgclone.animate({

'width': 0,

'height': 0

}, function () {

$(this).detach()

});

}

}

Change History (2)

comment:1 Changed 8 years ago by mpsaravanan

How to fix this issue

comment:2 Changed 8 years ago by dmethvin

Resolution: notabug
Status: newclosed

Please ask for help on our forum or StackOverflow.

Note: See TracTickets for help on using tickets.