Skip to content

Tag: javascript

Fancybox hyperlink on zoom image

I used to have an hyperlink that is anchored to an image. But I now when I click the image it needs to zoom in first so I used Fancy box, then the zoom in image must have the link. Is it possible? Here is my code below Answer For future reference, it is possible but you need to create

How to check time between range using javascript

I have the time value in HH:MM format. Hours are in 24 hours format. e.g. 14:30 I want to do a checking using two IF condition if the time value is between 05:00 to 22:00 if the time value is between 22:00 to 05:00 I am not sure how to do that. Answer Since times in HH:mm format can be

Drag and Drop and Sort DIVs in jquery

I’ve encountered a problem in my jquery code. I need to have 2 divs at the sides of the page which contains some cards. I should be able to drag and drop from the one on the left to the one on the right. the cards must be clone so the original card stays in place. Also the cards should