Hello,
I have created a story.The following method below
Create content->Story->Create Story
fields= 1) Title
2) Menu link title: static photo gallery
3) Parent item: ADD TO primary links
4) Body: IN BODY Added the following script below :-
script type="text/javascript" src=" print drupal_get_path('theme','lols').'/jquery.js'">
script type="text/javascript" src=" print drupal_get_path('theme','lols').'/stepcarousel.js'">
div id="mygallery" class="stepcarousel">
div style="width: 4050px; left: -3240px;" class="belt">
div style="float: none; position: absolute; left: 0px;" class="panel">
img src="brd.jpg">
/div>
div style="float: none; position: absolute; left: 810px;" class="panel">
img src="brd.jpg">
/div>
/div>
/div>
I don't Why it's not working can any one help ....pls..
Comments
Can you please wrap your code
Can you please wrap your code in code tags? It makes for easier reading. :)
A couple of points to kick things off:
• You can also try path_to_theme() instead of drupal_get_path().
• jQuery is something you usually want to include in the head of your document.
• Are you seeing the script when you look at the source of the document?
$bull; Are you seeing the script if you visit it in the browser? Often permissions are inadvertently/incorrectly set on uploaded scripts.