Learn to automatically append link of source page or add copyright notice when someone copies text from your website. It may help in fighting plagiarism.
Category: JavaScript
How to Load Disqus onClick Event
You can load Disqus on click of a button. Loading Disqus comments on demand using onclick event increases page load speed of your website. It can be done with jQuery or with simple JavaScript.
Javascript: onClick Open Link in New Tab (HTML Button)
Learn how to open and display a link in a new tab in your browser. This can be done using both HTML (Link) as well as JavaScript (Button), according to your requirement.
HTML: Give Different CSS Styles to Alternate List Items (OL, UL, LI)
Web developers often want to give different CSS style to alternate (even or odd) items in a UL or OL HTML lists. Learn how to do this with or without jQuery.
JavaScript: Count Items in HTML List
Get the JavaScript code for counting items in an OL or UL list and then display the count wherever you want on your web page.
Benefits of Loading jQuery from Google
jQuery is one of most widely used JavaScript framework. Google also uses it and makes it available for other websites as well. Know why you should use jQuery from Google.
Create Floating Bar Like Gmail and Facebook
A simple method to make any portion of your webpage to float when user scrolls the page. The technique makes use of jquery’s scroll event.
Randomize HTML List: Display HTML List Items Randomly
Learn to randomize HTML list with JavaScript code. The list could either be ordered (OL) or unordered (UL). Method uses rand function to shuffle LI elements.
Change onclick Event of an Element Using JavaScript
Learn how to dynamically change the onclick event of an HTML element using JavaScript code. This on the fly modification is not all the difficult!