Searchable Widget – Automatic links for Wikipedia, YouTube and Google

Let your visitors easily look up any text on Wikipedia, or search for it on YouTube and Google. This lightweight jQuery-CSS solution populates the icon links automatically, all you have to do is add the searchable class to the HTML tag.

Live Demo

search text on wikipedia youtube google widget

Continue reading “Searchable Widget – Automatic links for Wikipedia, YouTube and Google”

Social Media Share Buttons – Dynamic JS Widget

We are presenting a simple jQuery solution to implement social media share buttons for the current page, with svg icons. Our example includes the most popular sites: Facebook, Twitter, LinkedIn, Digg, Blogger, Reddit, Delicious and “email to friend”. You can add new sites tweaking the code a little. Sharablility is a crucial SEO factor so make sure to add this simple widget to your pages.

social media share buttons jquery

Live Demo

Continue reading “Social Media Share Buttons – Dynamic JS Widget”

Cookie Consent warning strap with HTML-CSS-JS

We know there are many pointless, dumb laws out there that make no sense. The European Cookie Law is also annoying because you have to start by closing a popup every single time you visit a website. This law is a privacy legislation that requires sites to get consent from visitors to store or retrieve any information about them.

cookie law warning strap
Continue reading “Cookie Consent warning strap with HTML-CSS-JS”

The most common JavaScript and jQuery code snippets

I have collected the most common JavaScript and jQuery snippets that we use almost for every project. Honestly I couldn’t write a jQuery “document-ready” function on a blank piece of paper because my memory is not too sharp. This resource will help keeping these all together so we can always sneak a peek if necessary.

Check out the interactive JavaScript Cheat Sheet to find them all in one place!
Continue reading “The most common JavaScript and jQuery code snippets”

Fix When jQuery Click Event Is Not Working On Touch Devices

You might have come across situations when the jQuery click event listener works fine on desktop but it doesn’t fire on mobiles, tablets and other touch devices. This might happen when the event is not attached to an anchor tag but to some other element, like a div. There is a very simple solution to fix this issue.
Continue reading “Fix When jQuery Click Event Is Not Working On Touch Devices”

jQuery Hover Animation Effect Without Jumping – Using Stop() Method

Probably you experienced some flashing effect the first time you tried to make a jQuery hover animation without the stop() call. This happens when you hover and take your mouse away quickly without waiting for the animation to finish. This behavior triggers a new animation to start before the previous has finished.
In this article I’m going to present the proper way of making jQuery animation calling the stop() method, avoiding shaking fuzzy effects.
Continue reading “jQuery Hover Animation Effect Without Jumping – Using Stop() Method”

This website and its third-party tools use cookies to gather anonymous visitor data and display personalized ads.

Home HTML Editor Articles Privacy Policy, Terms and Conditions About The Author Contact
Okay
This website is using cookies. More details