nomensa / jquery.hide-show

jQuery plugin for inserting buttons/links to hide and show sections of content
http://nomensa.github.io/jquery.hide-show
MIT License
6 stars 6 forks source link

Button text #2

Closed lawlesscreation closed 10 years ago

lawlesscreation commented 10 years ago

It would be nice if we could pass in options for the button text that allowed for parts of the text to be hidden e.g.:

    $('.example').hideShow({
        hideText: '<span class="hidden">Hide</span> Content',
        showText: '<span class="hidden">Show</span> Content'
    });