• 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.

Viewing 1 replies (of 1 total)
  • Thread Starter project13x

    (@project13x)

    I added a delay and fadeout and a cycle. See code below and it works partly.
    only the rewind loops messes everything up again.

    Any ideas how to solve this?

    // JavaScript Document
    jQuery(document).ready(function cycle() {

    jQuery(“.homepage-slider-text”).delay(1000).fadeIn(500).delay(2500)
    .fadeOut(500, cycle);

    });

Viewing 1 replies (of 1 total)
  • The topic ‘delay textbox/div’ is closed to new replies.