Hey can some one help me out I'm trying put this on my website but when it's in php code I get errors so can some help me out to make it work in php code <script type="text/javascript"> $(document).ready(function() { $("a.zoom").fancybox(); $("a.zoom1").fancybox({ 'overlayOpacity' : 0.7, 'overlayColor' : '#000000' }); $("a.zoom2").fancybox({ 'zoomSpeedIn' : 500, 'zoomSpeedOut' : 500 }); }); </script>
1. It would help posting the error you get as well 2. This is not php, but javascript, topic misleading, so i got trapped in this one ;-)
me too, so I renamed it In case of JS problems I'd suggest using Firefox and within the error console, showing you pretty detailed JS errors.