Skip to content

Instantly share code, notes, and snippets.

@kier0
Created March 19, 2015 08:22
Show Gist options
  • Select an option

  • Save kier0/321e3dc78cd5f77e40ca to your computer and use it in GitHub Desktop.

Select an option

Save kier0/321e3dc78cd5f77e40ca to your computer and use it in GitHub Desktop.
Make any DIV a clickable link. Div must include a tag ( <a href=".."></a> ) This code will look for the first link tag inside the DIV Example below has 3 divs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment