Ask questions and get good answers on jQuery

Hi Mateo, I think you're a genius.

I'd like to change the 123 index into abc.... how do you do that?

Tx

Dalia

asked Jul 18 '10 at 13:16

Dalia's gravatar image

Dalia
373

edited Jul 18 '10 at 14:16

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129


Hi Dalia,

Yes, you should remove the "pageIndex" element from your page and repace it with your custom list. For each element on your list add an onclick function:

$("#[your scrollable ID]").goToPage([page index])

for example:

<span onclick='$("#myscroll").goToPage(1)' >a</span>
<span onclick='$("#myscroll").goToPage(2)' >b</span>
<span onclick='$("#myscroll").goToPage(3)' >c</span>
...

Let me know if this solve your needs, bye, Matteo

answered Jul 18 '10 at 14:16

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

http://www.iwmc-group.com/lang/en/credit-bureaus.html see what i've done on the page there. I don't think my original idea is a good solution. I think the fastest way for visitors is a drop down by country, do I still use the same method? Can you detail it... i'm only good at copy/pasting. TX

dalia

answered Jul 19 '10 at 10:33

Dalia's gravatar image

Dalia
373

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:

×3

Asked: Jul 18 '10 at 13:16

Seen: 179 times

Last updated: Jul 19 '10 at 10:33

jQuery main site - Matteo Bicocchi