Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

How do I download and use this jqeury code?

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 ?
ASKER CERTIFIED SOLUTION
Avatar of Ishaan Rawat
Ishaan Rawat
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

>>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??)
No in that situation..

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

And it will automatically be saved as jquery.lazyload.js
let me try
yes, that worked. Thanks.
your welcome... :D