jQuery Clickable Div Based on Internal Link

Glenn Uncategorized 0 Comments

If you want a div to be clickable based on a standard HTML internal link, within that div, then use this jQuery snippet (requires jQuery Library):- The code will rattle through the parent div looking for links and will then add the link it to that div. Useful for components that require clickable divs with custom defined structured content (portfolio …