Hey I was wondering if anyone could help me with some basic javascript. Is it possible to use the jquery .css to use asynchronous callbacks to stagger changes to css?
E.g.
jQuery("#topbar").css({transition: "background-color 10s ease", background: "rgba(255, 255, 255, 0.6)"});
//jQuery("#topbar").css({transition: "background-color 10s ease", background: "rgba(255, 255, 255, 0.0)"});
In this example can I alter the first function to become asysnchronous so that it runs the second commented function in a callback function?
Thanks
use the jquery .css, youapply styles/transitions at runtime with jQuery.animate()to queue css changes