The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

load an animated gif without playing the animation

Go down

load an animated gif without playing the animation

Post by Ahmed.K on July 12th 2014, 6:41 pm

Why this code doesn't work?

Code:
jQuery(document).ready(function(){
jQuery('.lastpost-avatar').each(function() {
    setInterval(function() {
jQuery(this).find('img').attr('src', jQuery(this).find('img').attr('src'))
},1)
});
});

But it works fine here:
http://jsfiddle.net/MEaWP/6/

any ideas?

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: load an animated gif without playing the animation

Post by Ahmed.K on July 14th 2014, 6:28 am

Nobody knows?

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: load an animated gif without playing the animation

Post by SLGray on July 14th 2014, 9:41 am

Do you have JavaScript Management activated?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41867
Reputation : 2877
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum