SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Setting a Delay() on running a jQuery function.

    I want to have a delay on a jquery function and am unsure about how to do this. My code is(jscrollpane):

    HTML Code:
    $(function()
    {
    	$('#resume').jScrollPane();
    });
    Any help, guidance, code with explanation would be gratefully appreciated.

    PChuprina

  2. #2
    Forums Designer
    Join Date
    Jun 2004
    Posts
    422
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $('#resume').delay(100).queue(function(next) { $(this).jScrollPane(); next(); });

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry did not work. It broke jScrollPane.

    PChuprina


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •