Logic Machine Forum
JQuery and FadeIn() and FadeOut() functions - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: JQuery and FadeIn() and FadeOut() functions (/showthread.php?tid=875)



JQuery and FadeIn() and FadeOut() functions - buuuudzik - 30.06.2017

Hello,

yesterday I noticed that fadeIn() and fadeOut() functions aren't working on Safari. I was looking at stackoverflow but it seems that this function should work but it isn't.

I've tried also on some public pages running such code from console:

Code:
$("body").fadeOut(1000);

On Firefox and Chrome works but on Safari it doesn't works. Maybe somebody has similar issue?


RE: JQuery and FadeIn() and FadeOut() functions - admin - 30.06.2017

You have to use velocityjs instead, fadeIn/fadeOut are not present in jQuery build that's used in visualization:
Code:
$('body').velocity('fadeOut');



RE: JQuery and FadeIn() and FadeOut() functions - buuuudzik - 30.06.2017

It works. ThanksWink Little different because every fadeIn refresh full body from 0 but I filtered this. But how it is that in Chrome and Firefox it fadeIn() was working?


RE: JQuery and FadeIn() and FadeOut() functions - admin - 30.06.2017

It shouldn't work in any browser. Maybe you have tested it somewhere else with full jQuery build?