Current time: 12-11-2017, 12:23 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need PHP help
02-11-2010, 04:26 PM
Post: #1
Need PHP help
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>
Find all posts by this user
Quote this message in a reply
02-11-2010, 11:05 PM
Post: #2
RE: Need PHP help
Can you upload your actual php file? That is straight html and needs to be outside of a php block. i.e.:

...php code
?>

insert your html here

<?php
.. continue the php code

You can also echo or print it (or if you are using a CMS they have different ways to take the output).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)