Jump to content

rel tag Javascript link


verdrm

Recommended Posts

I need to apply a "rel" tag to a div Javascript link.

 

A regular link would look like this for my code:

 

<a href="images/imagename.jpg" title="" class="thickbox" rel="gallery-name">

 

...but I need to make a div a link:

 

<div onclick=""></div>

 

How do I convert that link into a div link with the rel tag?

Link to comment
https://forums.phpfreaks.com/topic/164963-rel-tag-javascript-link/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.