JQuery Question
Support QBN: Build your portfolio with Krop

JQuery Question

  • Started
  • Last post
  • 5 Responses
  • Oldest
  • Newest
  • Popular
  • Active
  • mekk0

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

    mekk 0Permalink
    UpvoteDownvote
    Flag
    • actually this is what you needdbloc
    Show [[ numHiddenNotes ]] more notesAdd Note
    SaveCancel
  • dbloc0

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

    dbloc 0Permalink
    UpvoteDownvote
    Flag
      Show [[ numHiddenNotes ]] 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 0Permalink
      UpvoteDownvote
      Flag
        Show [[ numHiddenNotes ]] 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 0Permalink
        UpvoteDownvote
        Flag
          Show [[ numHiddenNotes ]] more notesAdd Note
          SaveCancel
        • dbloc0

          add .delay(10000)

          dbloc 0Permalink
          UpvoteDownvote
          Flag
          • before the last animatedbloc
          • or wherever neededdbloc
          Show [[ numHiddenNotes ]] more notesAdd Note
          SaveCancel
        Login or Register to respond to this.
        PrevNext
        PrevNext
        © 1999-2025 QBN LLC.
        • Log in
        • Register
        • Broadcast
        • Filter
        • Jingle
        Made with ❤ by Krop Build a Portfolio Website