Solved

How do I download and use this jqeury code?

Posted on 2013-06-07
7
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

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 how to dynamically set the form action using jQuery.
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…

691 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