SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Feb 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to attach jquery library and plugins?

    Hello and thanks you for any input. I am starting to apply query to my webpage in development. First off when I go to download the library, I come to this: http://code.jquery.com/jquery-2.1.0.js Nothing to download just a whole bunch of code I do not know what to do with it. In the head on my html I got this

    HTML Code:
    <head>
    <meta charset="UTF-8">
    
    
    <title>Swift</title>
    
    
    <link rel="stylesheet" type="text/css" href="Index.css">
    
    <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.10.4.custom.css" />
    
    <script src="/Users/Am/Desktop/Swift.Files/js/jquery-1.10.2.js"></script>
    <script src="/Users/AmDesktop/Swift.Files/js/jquery-ui-1.10.4.custom.js"></script>
    <script src="/Users/Am/Desktop/Swift.Files/js/jquery-ui-1.10.4.custom.min.js"></script>
    
    <script type='text/javascript' language='javascript' src='/Users/AM/Desktop/Swift.Files/index.js'></script>
    <link rel="stylesheet" type="text/css" href="Index.css">
    
    
    </head>
    In my .js code folder I have this


    Code JavaScript:
    $(document).ready(function() {
       $('.home').mouseenter(function() {
           $(this).animate({
               height: '+=10px'
           });
       });
    Last edited by Mittineague; Mar 8, 2014 at 12:55.


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
  •