Monday, May 21, 2012

fancybox and links

i've searched the forums for a solution, but i couldn't find anything :)
i have a fancybox with a div inside it. inside this div i have things such as images, text and an external link ( tag ) to a website (ex. yahoo)
what i would like is, when i click the link, yahoo will open up in a new tab/window ( target:_blank ) but all i get is "the requested content cannot be loaded. please try again later"



here's the code:



<a class="fancybox" href="#content"></a>
<div id="content">
<img.... />
<p>......</p>
<a href="www.yahoo.com" target="_blank">yahoo.com</a>
</div>


thanks a lot for helping me out :)





No comments:

Post a Comment