Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Slider "jumps" on page load WordPress

  • SOLVED

I have a featured content slider ([[LINK href="http://neumananderson.com"]]neumananderson.com[[/LINK]]), when the page loads it shows multiple slides at once for a split second. I'm using a theme called [[LINK href="http://j.mp/UqiNW"]]Bloing[[/LINK]], but the author hasn't been much help in trying to solve this problem..

Answers (3)

2010-03-30

Buzu B answers:

I just see a very very fast jump. I guess that is what you are talking about. It appears to be the javascript what is causing the problem. Let me check out under the hood and see how it is working and how we can solve it.


Buzu B comments:

Ok. try moving this part of the code


<script type="text/javascript">
$(document).ready(function() {
$('#header-slider-inner').cycle({
fx: 'scrollUp',
speed: 500,
timeout: 5000,
next: '.slider-next',
cleartypeNoBg: true,
pause: 1,
delay: -2000
});
$('#slider-side').cycle({
fx: 'scrollDown',
speed: 500,
timeout: 4000,
random: 1
});
$('#top').click( function() {
$.scrollTo(0, 500);
});
});
</script>



Up to the head section... That should do it. If it doesn't, let me know.


Chris H comments:

Moving that to the head actually breaks the slider. Rather than just showing multiple slides for a split second, it just stays that way and doesn't slide at all.