?
Solved

How do I download and use this jqeury code?

Posted on 2013-06-07
7
Medium Priority
?
308 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 1000 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 1000 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
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 
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

Technology Partners: 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!

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…
Suggested Courses

762 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