I've wrote some program that opens upon a link click.base href url breaks <a href> anchor for fancybox
<a class="myclass" href="#openfancybox">Open Fancybox</a>
It uses a fancybox, jQuery and everything works perfect. Once I implemented it into the project, it doesn't work. The problem is this code in the project:
<base href="http://somesite.com/" />
It goes to the base url instead of opening a fancybox.
I've tried to fix it using jQuery or javascript solutions but I had no luck.
P.S. I don't want to remove base
from the source code as it could break something else in the project (I have a task to implement my fancybox only).
P.P.S. Also I would definitely prefer a pure javascript solution as far as I use jQuery for my fancybox, but conflicts with other frameworks are expected. The project is for Joomla.
請提供鏈接! – Rajiv007 2013-02-26 06:41:41
告訴我們''它''它''它''不起作用 – 2013-02-26 06:42:18