Ask questions and get good answers on mb.jQuery.components

Hi,

I use mb.scrollable in my page, but instead of the pageIndex: 1 2 3 4 5 6 7 i need images(icons), is this possible?

Regard, Rikard

asked Apr 27 '10 at 19:25

Rikard's gravatar image

Rikard
133

edited Apr 28 '10 at 08:14

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129


Hi Rikard, To have your custom navigation index just remove the "pageIndex" DIV and build your own list adding for each element in the list the "goToPage()" method:

<img src="[your image]" onclick="$('#[your scrollable ID]').goToPage([page number])">

You can set whatever you want as page index (images, text, ...). Of course if you need custom elements those can't be generated automatically as the number are.

answered Apr 28 '10 at 08:11

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Thanks for your answer, i still need some more help.. I'am willing to pay/donate for your help, please contact me by mail.

answered Apr 28 '10 at 09:34

Rikard's gravatar image

Rikard
133

edited Apr 28 '10 at 11:13

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×5
×3

Asked: Apr 27 '10 at 19:25

Seen: 476 times

Last updated: Apr 28 '10 at 11:13

jQuery main site - Matteo Bicocchi