Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Jquery question

  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Jquery question

    Ok, so I'm a web design student and recently started learning javascript. My knowledge is intermediate at best.

    I recently went to jquery and found an accordion box that I wanted to use in my website's gallery section (www.designinginthedark.com

    When I go to download the Jquery-1.3.1.js file i get the uncompressed version, and it downloads as Jquery-1.3.1.js.txt The txt (i'm assuming) is so it loads properly in notepad. However when I save the file with just the .js and attempt to upload it to my server, it wont let me because it says that it's not a valid file type. It says that a "." can only be used at the end of the file name, so it's not recognizing the file type. What should I do?

  • #2
    Regular Coder
    Join Date
    Feb 2009
    Location
    Wheeling, IL
    Posts
    358
    Thanks
    5
    Thanked 62 Times in 60 Posts
    This is not really a question pertaining to jQuery itself, but either way... try renaming the file to jquery.js and uploading it that way. I would also suggest redirecting your question to a forum that does pertain to FTP and web servers, rather than a coding section.

  • #3
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'd recommend linking to jQuery hosted on Google's CDN; it will be way faster for your users and no bandwidth cost to you.
    Plus, much of the time, it will already be cached on the user's machine as it's shared by many sites.

    For instance if you View-Source on my site how to hold a party you'll see the reference to:

    http://ajax.googleapis.com/ajax/libs.../jquery.min.js


  •  

    Posting Permissions

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