having delay in loading jquery

Discussion in 'jQuery' started by learnerabn, Sep 25, 2010.

  1. #1
    Hi all,

    I'm using jquery in my page for text innerfade effect.
    But what here happence is while loading the page the jquery effects for those text gets delay to load.so while loading there displays a jung texts

    Can any one help me
    Thanks in advance....
     
    learnerabn, Sep 25, 2010 IP
  2. GFX_Lover

    GFX_Lover Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That's just because, it takes time to load the jQuery library file only.

    Use the minified version of jQuery. It'll take less time :)
     
    GFX_Lover, Oct 3, 2010 IP
  3. learnerabn

    learnerabn Peon

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you GFX_Lover,

    But i'm already having minified js only.
    Though i solved problem in another way...
    I gave display none in css and changed the display into block on document ready function so it doesn't display's the junk text before loading js...

    What ever it may thank you...
     
    learnerabn, Oct 11, 2010 IP
  4. lion_lions

    lion_lions Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you GFX_Lover
     
    lion_lions, Oct 22, 2010 IP