delay textbox/div
-
I really like this slider. so far so good.
But I want to display the text i put in a div in the textfield a bit later then the slider itself.
I am trying to implement javascript.
This is what i got so far.
<div class=”homepage-slider-text”>
<p style=”text-align: center;”>This is text that shows up later</p>
</div>and added javascript.
// JavaScript Document
jQuery(document).ready(function() {
jQuery(“.homepage-slider-text”).delay(1000).fadeIn(500);
});The div does show up later. But only the first time the homepage is loaded. When the slider continues. The div is displayed the same time as the slider.
Any help?
I am new with using javascript.
- The topic ‘delay textbox/div’ is closed to new replies.