jQuery LiveQuery flashing on screen, HTML & CSS

Arcania

New Member
Im trying to stop a piece of code from flashing. Im using the jQuery LiveQuery plugin to not run the effect until its visible on screen however its slow (takes about 2 seconds to display, i dont know why) and more importantly during that 2 seconds it flashes a few times on the screen. I have tried display:none in the css but its not working.Any ideas?\[code\] <script> $(function () { $("#percentage-bars-page-wrap").show(); $('.meter .bar:visible').livequery(function () { $(".meter .bar").hide().show('bounce', { times: 4, direction: 'right' }, 1780); }); }); </script>\[/code\]
 
Back
Top