Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Jquery urm query

Discussion in 'Website Design Forum:' started by TallPaul, Jun 30, 2010.

  1. TallPaul

    TallPaul Member

    Hey guys :)

    Noticing as of late there are more and more sites using Jquery and it seems to be getting quite a popular thing.

    What exaclty is it for though? Can it be used to replace flash for simple animations? Isnt worth it to learn Jquery?

    I really like this site i found Alex Buga's Livingroom isnt my site but looks like he uses Jquery on it, looks great.
     
  2. ralphsaunders

    ralphsaunders Senior Member

    Essentially what jQuery does is provide a simplified syntax to do snazzy animations and interactions in javascript.

    It's a great way to get your foot in the door if you want to do more stuff with javascript later on down the line.
     
  3. TallPaul

    TallPaul Member

    Looking to learn both eventually starting to look at some Jquery tutorials but having trouble actually downloading jquery, i click download and it opens a window of the code, i then copy and pasted and saved as jquery.js but dont think it is working. :S
     
  4. ralphsaunders

    ralphsaunders Senior Member

    You have to link to jquery.js like you would with any script file; at the bottom of the page, just before the </body> tag.

    You then also have to have a file for stuff you do... I usually call mine effects.js or cleverstuff.js or compressed.js when it's compressed.

    HTML:
    <script src="./js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="./js/compressed.js" type="text/javascript"></script>
    Your effects.js should be laid out like this -

    Code:
    $(document).ready(function() {     //Your code goes here});
     
  5. glenwheeler

    glenwheeler Senior Member

    "jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript."

    - Taken from jQuery: The Write Less, Do More, JavaScript Library
     
  6. Sunburn

    Sunburn Active Member

  7. Goreki

    Goreki Member

    if jQuery is something you're interested in looking into, definitely checkout the website, there's shed loads of information on there for what you need to get started. There's also plenty of tutorials around that can put you in the right direction for using the it.
     
  8. TallPaul

    TallPaul Member

    Cheers guys got the starter pack and downloaded the jquery saved as jquery.js and put it in the starter pack like it says, then gonna get down and dirty with the tutorials.
     

Share This Page