开发者

How to hide prev/next controls in "Galleriffic" plugin for jQuery?

In our project we use plugin for jQuery - Galleriffic (http://www.twospy.com/galleriffic/), it allows you to do slideshow with photo set.

How to hide buttons prev/next in "pagination" block?

In the navigation ("pagination" block) should be only the page numbers without buttons prev/nex开发者_C百科t.


I found the solution:

In jquery.gallerific.js is a function which is responsible for creating the block "pagination" (it is called "buildPager"), in it creates the buttons prev/next.

We must find in "buildPager" line "/ / Prev Page Link" and put to the button "prev" class "hide" (in the css should be spelled out the relevant rule - .hide{display: none;}).

A similar procedure should be done and for the button "next".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜