CyberShot Posted December 4, 2009 Share Posted December 4, 2009 I need to use two rel tags in my code but it doesn't work. Like this <a href="images/preview.png" title="Valid xhtml/css" class="screenshot" rel="shadowbox[work]" rel="images/preview.png"><img src="images/thumb.png" alt="My Work" height="65" width="65" /></a> I tried rel="shadowbox[work] images/preview.png" but it doesn't want to work, one will be the other won't any ideas for a sollution? Link to comment https://forums.phpfreaks.com/topic/184018-the-rel-attribute/ Share on other sites More sharing options...
trq Posted December 5, 2009 Share Posted December 5, 2009 You can't have more than one item within a rel attribute. What exactly are you using it for? Doesn't seem its intended purpose. Link to comment https://forums.phpfreaks.com/topic/184018-the-rel-attribute/#findComment-971712 Share on other sites More sharing options...
CyberShot Posted December 5, 2009 Author Share Posted December 5, 2009 I had a lightbox effect and a tooltip plugin that both used rel="" to activate them. I found another way to get it done. Link to comment https://forums.phpfreaks.com/topic/184018-the-rel-attribute/#findComment-971724 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.