This is a code question
I am making a custom page on drupal using php filter and this is the code which i write in description :-
<?php
drupal_add_js(
'$(document).ready(function(){
$('.reel').cycle({
fx: 'fade'
});
});',
'inline'
);
?>
thats it
The page should show a slideshow like http://www.trs.co.uk/products/categories/OH3DFW525372656
But what actually drupal shows is an error :-
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/delvelo1/public_html/sona/includes/common.inc(1685) : eval()'d code on line 5
1 year 24 weeks ago