Jump to content

Create fancybox link


ande85

Recommended Posts

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

  • 3 weeks later...

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...