Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How jquery uses the skitter plug-in

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you how to use the skitter plug-in jquery, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

Download address: http://www.skitter-slider.net

The most important feature of this plug-in is that it has a lot of animation effects when turning pages or sliding, such as cube shape, pipe shape and so on. It also provides users with a series of options for maximum customization, such as animation speed, conversion interval, picture text label settings, and so on.

It is easy to use, just give it the correct configuration.

For more information on configuration parameters, please see http://blog.sina.com.cn/s/blog_7f95e24b01017ts9.html and official website. I won't repeat it here.

Here we will mainly talk about its shortcomings.

Disadvantage one:

It can be regarded as BUG. I think it's okay to display wide-screen pictures when the parameters are set to full screen (the official website is full of wide-screen pictures), but it is not satisfactory when narrow-screen and large pictures are full-screen. Here's a comparison:

The disharmony can be clearly seen. When I look at the code, I know that its' parents' are not thoughtful.

Only the height is defined, not the width (be careful when writing your own program and think of all possible situations). So:

Depending on the effect:

Disadvantage two:

Sliding to change pictures on mobile phones is not supported. How can I tolerate what is supposed to be used on the mobile phone?

Continue to modify the source code. With the help of another plug-in jquery_mobile.

(go to school to study) usage:

Look at the source code, find out what is suitable for modification, and add the code:

In fact, this is modeled on its previous and latter button trigger events, but the trigger source has been changed.

The above is all the content of the article "how to use the skitter plug-in for jquery". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report