bxslider样式配置 [英] bxslider style configuration

查看:129
本文介绍了bxslider样式配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图设置bxslider,一个jquery滑块插件,但他们的文档不告诉你如何设置滑块的样式,如网页的例子设置。我有这个代码到目前为止:

I am trying to setup bxslider, a jquery slider plugin, but their documentation does not tell you how to setup the slider's style like the webpage's examples are setup. I have this code So far:

<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script src="jquery.bxSlider.min.js" type="text/javascript"></script>
<script type="text/javascript">
  $(document).ready(function(){
    $('#slider1').bxSlider({
    auto: false,
    pager: true,
});
  });
</script>
</head>
<body>
<ul id="slider1">
  <li>Slide one content</li>
  <li>Slide two content</li>
  <li>Slide three content</li>
  <li>And so on...</li>
</ul>
</body>
</html>

我需要添加什么才能拥有按钮和格式设置, : http://bxslider.com/

What do I need to add in order to have the buttons and formatting setup like they are on this page: http://bxslider.com/

推荐答案

您需要有bx_styles文件夹并链接到bx_slider样式表。

You need to have the bx_styles folder and link to the bx_slider stylesheet.

https://github.com/wandoledzep/bxslider/tree/master/bx_styles

这篇关于bxslider样式配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆