I want to customize the jquery bxslider plug-in.

Asked 2 years ago, Updated 2 years ago, 54 views

I am using the bxslider plug-in applied to the web page, and I have a question.

For example,

<ul class="bxslider">
    <li><img id="001" src="/images/730_200/hill_trees.jpg" /></li>
    <li><img id="002" src="/images/730_200/me_trees.jpg" /></li>
    <li><img id="003" src="/images/730_200/houses.jpg" /></li>
    <li><img id="004" src="/images/730_200/tree_root.jpg" /></li>
    <li><img id="005" src="/images/730_200/hill_fence.jpg" /></li>
    <li><img id="006" src="/images/730_200/trees.jpg" /></li>
</ul>

When there is a code like above, it starts with a slide with id 001 by default and moves on to id-006.

By the way, is there an option or a way to set the designated slide, id to 003 or 004, rather than the first slide that is exposed and started when the page was loaded?

(Of course, if you change the order of html, it comes out from the top, so you can do that, but I wonder if there is a way to leave html as it is and change it in another way.)

I don't know if the question was delivered correctly, but I look forward to hearing from you!

(But how can I know if there's an answer? Should I check the page to see if there is an answer?)

jquery bxslider plugin

2022-09-22 22:04

1 Answers

$('.bxslider').bxSlider({
    startSlide:3
});

Options are shown here.

http://bxslider.com/options


2022-09-22 22:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.