Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevindoole/jquery.showhide
Basic jQuery modal window plugin.
https://github.com/kevindoole/jquery.showhide
Last synced: 2 days ago
JSON representation
Basic jQuery modal window plugin.
- Host: GitHub
- URL: https://github.com/kevindoole/jquery.showhide
- Owner: kevindoole
- Created: 2011-06-27T01:02:43.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-27T01:21:41.000Z (over 13 years ago)
- Last Synced: 2024-11-06T10:17:56.437Z (about 2 months ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.mdown
Awesome Lists containing this project
README
#Usage:
`$("#id-of-button/link").showHide($("#id-of-hidden-fields-container", options);`#Default options:
**hideText: 'close'**
the text to show on the close link below the popup field**hideIdPrefix: 'close',**
prefix to add to the id of the close button**hideClass: 'showHide-close'**
class to add to the close button**activeClass: 'showHide-button-active'**
class of activated button**replaceSubject: false**
replace the button? -- this is useful for select lists where you don't want to replace it if user has no js**replaceClass: 'showHide-button'**
class to add to the replacement button**replaceWithText: 'options'**
Text on the replacement button**dropdown: false**
Is it a dropdown? (just adds an arrow to the button)