Solved

How do I download and use this jqeury code?

Posted on 2013-06-07
7
295 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 9

Accepted Solution

by:
Ishaan Rawat earned 250 total points
Comment Utility
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
Comment Utility
0
 
LVL 7

Author Comment

by:Camillia
Comment Utility
>>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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 9

Expert Comment

by:Ishaan Rawat
Comment Utility
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
Comment Utility
let me try
0
 
LVL 7

Author Comment

by:Camillia
Comment Utility
yes, that worked. Thanks.
0
 
LVL 9

Expert Comment

by:Ishaan Rawat
Comment Utility
your welcome... :D
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

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…
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
The viewer will learn how to dynamically set the form action using jQuery.
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)

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now