+ 1
Share your experience and problem you met.
Hey guys. We all had some problems during coding.Sometimes cause things works not how we expected , sometimes cause our "tools" works pretty specific , or maybe cause it's different versions. And...if we know about problems we can met - we can try to avoid it(and waste less time),that's why exectly I created this discuss. Share problems you met during coding,share weird things,share library or language problems/bugs/specifics...and how to solve it. Also...try to make some structure in your comments like: 1.Language name (/library) 2.Code 3.What expected 4.How works on practice 5.How to fix
3 Respuestas
+ 2
I'll start it I guess...
1.JavaScript (JQuery)
2.Code
$(window).on('load resize', functionName);
3.Expected working for any JQuery library higher then 2x.
4.Doesn't work for 3.2.1 JQuery version.
5.How to fix - use 2.2.4 JQuery or Media-Query(css) if it's possible.
+ 2
Here's another one :
1.JavaScript (JQuery)
2.Code
$('#AnyElement').animate({
'color': 'red'
},5000);
3.Color will be animated
4.JQuery animate method can't animate color.
5.Use transition+ color or keyframes or any other way.
- 1
alert("I don't know");