javascript - Want to delay image following my mouse cursor -


  $ (दस्तावेज़) .mousemove (function (e) {$ ("# butterfly")। देरी (90000 ); $ ("# तितली")। सीएसएस ({left: e.pageX, शीर्ष: ई.पेजीआई});});   

कर्सर के बाद छवि में देरी कैसे बनाएं #butterfly "img id =" butterfly "तत्व है।

उपयोग करें, विलंब .css () के साथ काम नहीं करेगा। जैसा कि इसका उपयोग उन कार्यों के निष्पादन में देरी करने के लिए किया जाता है, जो इसे क्यू में आते हैं।

  $ (दस्तावेज़) .mousemove (function (e) {setTimeout (function () {$ ("# butterfly")। सीएसएस ({left: e.pageX, top: e.pageY});}, 90000);} );    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -