JQuery Question
Support QBN: Build your portfolio with Krop

JQuery Question

  • Started 13 years ago
  • Last post 13 years ago
  • 5 Responses
  • Oldest
  • Newest
  • Popular
  • Active
  • mekk0

    Use the step function:
    http://api.jquery.com/animate/

    mekk 013 years ago
    UpvoteDownvote
    Flag
    • actually this is what you needdbloc
    Show more notesAdd Note
    SaveCancel
  • dbloc0

    http://api.jquery.com/bind/

    dbloc 013 years ago
    UpvoteDownvote
    Flag
      Show more notesAdd Note
      SaveCancel
    • kingsteven0

      you're actually nearly right nosaj, just fucked up your syntax a bit... you dont need step... just like this:

      http://jsfiddle.net/v7c8S/

      kingsteven 013 years ago
      UpvoteDownvote
      Flag
        Show more notesAdd Note
        SaveCancel
      • nosaj0

        Thanks Kingsteven - If I want a delay before it fades out at the end is there a cleaner way to do it than this?

        http://jsfiddle.net/v7c8S/1/

        nosaj 013 years ago
        UpvoteDownvote
        Flag
          Show more notesAdd Note
          SaveCancel
        • dbloc0

          add .delay(10000)

          dbloc 013 years ago
          UpvoteDownvote
          Flag
          • before the last animatedbloc
          • or wherever neededdbloc
          Show more notesAdd Note
          SaveCancel
        Login or Register to respond to this.
        PrevNext
        • blog76k
        • State of QBN 2025270
        • Graffiti art783
        • Grafician Hate Why?108
        • SEO AIO GEO3
        • Israel bombing shit..1.2k
        • Vid of the Day36k
        • Pic of the Day131k
        • Donald Trump12k
        • Art of the Day Thread2.0k
        • Russia-Ukraine Invasion2.6k
        • Where The Fun IS1.7k
        • tattoo of the day616
        • Sureshot485
        • Artificial Intelligence2.0k
        • Meme of the day4.4k
        • superman!!!!24
        • Guess Who...4.9k
        • Vid of the Day - DESIGN422
        • Cringe of the day69
        PrevNext
        © 1999-2025 QBN LLC.
        • Log in
        • Register
        • Broadcast
        • Filter
        • Jingle
        Made with ❤ by Krop Build a Portfolio Website