選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.md 2.2 KiB

3年前
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ##New version 2.0.0-beta now available for testers. [Check it](http://www.owlgraphic.com/owlcarousel2/)
  2. ### OwlCarousel ###
  3. >v.1.3.3
  4. Touch enabled jQuery plugin that lets you create beautiful responsive carousel slider.
  5. [Visit Owl Carousel landing page](http://owlgraphic.com/owlcarousel)
  6. ###Features:
  7. * Responsive
  8. * Touch Events
  9. * Mouse Slide Events
  10. * Fully Customizable
  11. * Choose the number of items to be displayed
  12. * Multiple Sliders
  13. * CSS3 3d Transitions
  14. * Custimizable controls
  15. * JSON
  16. * Custom events
  17. * Helpful callbacks
  18. > Tested on IE7, IE8, IE9, IE10, Chrome, Safari, Firefox, Opera, iPhone, iPad, Chrom on Google Nexus.
  19. ### More Demos
  20. See what Owl can do:
  21. * [With auto scaling images](http://owlgraphic.com/owlcarousel/demos/images.html)
  22. * [Full Width](http://owlgraphic.com/owlcarousel/demos/full.html)
  23. * [Custom Widths](http://owlgraphic.com/owlcarousel/demos/custom.html)
  24. * [One Item](http://owlgraphic.com/owlcarousel/demos/one.html)
  25. * [More demos](http://owlgraphic.com/owlcarousel/#more-demos)
  26. ### 1.Getting Started
  27. Load jQuery(1.7+) and include Owl Carousel plugin files
  28. ```html
  29. <!-- Basic stylesheet -->
  30. <link rel="stylesheet" href="owl-carousel/owl.carousel.css">
  31. <!-- Default Theme -->
  32. <link rel="stylesheet" href="owl-carousel/owl.theme.css">
  33. <!-- Include js plugin -->
  34. <script src="owl-carousel/owl.carousel.js"></script>
  35. ```
  36. ### 2.Set up your HTML
  37. You don't need any special markup. All you need is to wrap your divs inside the container element <div class="owl-carousel">. Class "owl-carousel" is mandatory to apply proper styles that come from owl.carousel.css file.
  38. ```html
  39. <div class="owl-carousel">
  40. <div> Your Content </div>
  41. <div> Your Content </div>
  42. <div> Your Content </div>
  43. <div> Your Content </div>
  44. <div> Your Content </div>
  45. <div> Your Content </div>
  46. <div> Your Content </div>
  47. ...
  48. </div>
  49. ```
  50. ### 3.Call the plugin
  51. Now call the Owl initializer function and your carousel is ready.
  52. ```html
  53. $(".owl-carousel").owlCarousel();
  54. ```
  55. ### 4. For more details visit [OwlCarousel landing page](http://owlgraphic.com/owlcarousel)
  56. ##### Changelog available [here](http://owlgraphic.com/owlcarousel/changelog.html)
  57. License
  58. ------------
  59. The MIT License (MIT)