All Hyperlink

jQuery to style Hyperlinks based on URL extension

Yesterday I was working on a requirement where I need to apply different styles to hyperlinks based on their URL extensions. For example, if there are hyperlinks which redirects to ".pdf" extension then change their font color to "Red" so that they look different from other hyperlinks. This was easy to implement using jQuery. What […]
Read the rest of this entry »

Add Hyperlink to images using jQuery

To Add Hyperlink to the image, we normally use <a> tag that contains image tag to show the image. But assume there are 100 images and you need to add hyperlink to every image. Putting 100 <a> tag with each image is time consuming and painful. But jQuery can make your task painless. So in […]
Read the rest of this entry »