Jump to content
  • 0

Как прикрутить карусель?


DivMan
 Share

Question

Хочу взять слайдер отсюда http://labs.juliendecaudin.com/barousel/#ba_demos

 

в html пишу

<div id="any_id" class="barousel">    <div class="barousel_image">        <!-- image 1 -->        <img src="image_1.jpg" alt="" class="default" />        <!-- image 2 -->        <img src="image_2.jpg" alt="" />        <!-- image xx -->        <img src="image_xx.jpg" alt="" />    </div>    <div class="barousel_content">        <!-- content 1 -->        <div class="default">            [any html content]        </div>        <!-- content 2 -->        <div>            [any html content]        </div>        <!-- content xx -->        <div>            [any html content]        </div>    </div>    <div class="barousel_nav">    </div></div>

Заменил изображения на свои, размером 709x299

 

скачал Source - 12Kb: jquery.barousel.js и подключил его в head 

 

<script src="js/jquery.barousel.js"></script>

 

и под этим кодом добавил

$('#barousel_itemnav').barousel({    manualCarousel: 1})

И почему карусель не работает?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy