ande85 Posted November 24, 2011 Share Posted November 24, 2011 Hi, I want to create a fancybox link on my startpage. <a class="iframe" href="http://google.se"> <img src="../img/support.png"> </a> <img class="twisty " role="presentation" /><script type="text/javascript"> /* <![CDATA[ */ $('a.iframe').fancybox();/* ]]> */ </script> But i can´t get it to work. Does anybody know how to fix it? Thanks for you reply! Link to comment Share on other sites More sharing options...
MotoCCnl Posted December 12, 2011 Share Posted December 12, 2011 Hey ande, don't know if you're still searching, but try this: <a rel="iframe" class="thickbox" href="http://google.se">Open google.se</a> It worked for me, just make sure that the jquery.fancybox-1.3.4.js file is loaded on the page u want it to work on (and the jquery.easing.1.3.js file if you want to have the fancybox effects) Link to comment Share on other sites More sharing options...
a-prods Posted December 19, 2011 Share Posted December 19, 2011 Hey ande, don't know if you're still searching, but try this: <a rel="iframe" class="thickbox" href="http://google.se">Open google.se</a> It worked for me, just make sure that the jquery.fancybox-1.3.4.js file is loaded on the page u want it to work on (and the jquery.easing.1.3.js file if you want to have the fancybox effects) How do you load yhe js files? i only see theme on the product page only. Thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now