onArcade Forums

Full Version: PHP help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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>
Hello,

You need to change all
Code:
'
to
Code:
\'
in this code.

Hans
onArcade.com
Reference URL's