Solved

How do I download and use this jqeury code?

Posted on 2013-06-07
7
299 Views
Last Modified: 2013-06-07
I was redirected by my team lead to read this and download the jquery

https://github.com/tuupola/jquery_lazyload#readme


I think I need to download it from here (i asked someone here and they pointed me to this link)


https://github.com/tuupola/jquery_lazyload/blob/master/jquery.lazyload.js

But this is a text file. Do I need to copy it to a text file and rename it jquery.lazyload.js ?
0
Comment
Question by:Camillia
  • 3
  • 3
7 Comments
 
LVL 10

Accepted Solution

by:
Ishaan Rawat earned 250 total points
ID: 39229007
Copy all the code from the second link and save it as..   jquery.lazyload.js
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
ID: 39229046
0
 
LVL 7

Author Comment

by:Camillia
ID: 39229068
>>Click on the raw button you will go to : https://raw.github.com/tuupola/jquery_lazyload/master/jquery.lazyload.js 

If I do that, does it mean i still have to copy/paste into a file and name it jquery.lazyload.js
OR
I can reference the link?? I dont think i want to reference the link just in case that site goes down (can I even reference the link in code??)
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39229074
No in that situation..

You can save it directly by pressing CTRL + S....

And it will automatically be saved as jquery.lazyload.js
0
 
LVL 7

Author Comment

by:Camillia
ID: 39229082
let me try
0
 
LVL 7

Author Comment

by:Camillia
ID: 39229084
yes, that worked. Thanks.
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39229090
your welcome... :D
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have answered several questions lately that were solved utilizing the power of jQuery's AJAX functions, so I thought I would write an article demonstrating the ease of use. Why should I use jQuery as opposed to regular JavaScript? Now I know…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question