arvgta / ajaxify

Ajaxify - An Ajax Plugin
https://4nf.org/
275 stars 124 forks source link

Stop slideshow / carousel manually by the user? #79

Closed arvgta closed 9 years ago

arvgta commented 9 years ago

Question: Do you think adding a facility for the user to stop the slideshow / carousel would enhance usage of the feature?

ghost commented 9 years ago

Definitely!

arvgta commented 9 years ago

Thanks for your feedback!

Next step is to specify the interface part...

Something like this:

toggleSlide: false //default "off" - set to "true" to use defaults 

...or override defaults with the following sub-parameters:

{ //defaults - if not turned off completely
    parentID: 'content', //parent, where the above image(s) will be prepended - master switch
    imgOn: 'http://4nf.org/images/pinOn.gif', //graphic for indicating sliding is on
    imgOff: 'http://4nf.org/images/pinOff.gif', //graphic for indicating sliding is off
    titleOn: 'Turn slideshow off', //title tag when on
    titleOff: 'Turn slideshow on', //title tag when off
    imgProps: { marginLeft: '85%', marginTop: '20px' }
}
arvgta commented 9 years ago

Implemented

Special thanks to @artandsoul !

arvgta commented 9 years ago

Successfully implemented in the course of #80