1

I'm using jquery-steps on a project. But i can't find any way to add an icon to the Previous or Next buttons.

I modified the javascript with the following code:

                            labels: {
                            next: "»",
                            previous: "«"
                        }

But this is not what I like.

this is the plugin url: http://www.jquery-steps.com/

Someone knows a way to do this?

Thanks in advance!

jrummell
  • 42,637
  • 17
  • 112
  • 171
ccquir
  • 37
  • 1
  • 6

2 Answers2

1

You can try to inject the html to the button using jquery. Try this:

$('a[href="#next"]').html($('a[href="#next"]').html()+'»');

I hope this help.

saRca
  • 142
  • 1
  • 10
1
labels: {
         next: '\u00bb',
         previous: '\u00ab'
}
labels: {
         next: String.fromCharCode(187),
         previous: String.fromCharCode(171)
}
labels: {
         next: '»',
         previous: '«'
}
//String.fromCharCode(187) » '\u00bb'
//String.fromCharCode(171) « '\u00ab'
alessandrio
  • 4,282
  • 2
  • 29
  • 40