WordPress and Carousel
-
There ise js library that Prototype UI. But I can’t add that application to my theme.
Let me tell you what I did.
First of all I added these codes to my header.php file<script src="<?php bloginfo('template_directory'); ?>/scripts/prototype.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/scripts/effects.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/scripts/carousel.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/scripts/carousel.packed.js" type="text/javascript"></script>And css
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/slideshow.css" type="text/css" media="screen" />
After I added these code to my index.php file where I want to show
<div id="horizontal_carousel">
<div class="previous_button"></div>
<div class="container">* content
</div>
<div class="next_button"></div>
</div>Carousel part is static. It is not sliding or anything else. I just see those pictures. What is my mistake?
(I tried localhost)
- The topic ‘WordPress and Carousel’ is closed to new replies.