verdrm Posted July 6, 2009 Share Posted July 6, 2009 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? Quote Link to comment Share on other sites More sharing options...
haku Posted July 7, 2009 Share Posted July 7, 2009 Divs aren't links. You can simulate a link by using javascript to redirect the user somewhere when the div is clicked on, but the div still won't actually be a link. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.