DataTables / TableTools

Please note that TableTools has now been retired and replaced by the Buttons and Select extensions which offers significant improvements and API integration with the rest of DataTables and the other extensions.
http://datatables.net/
Other
237 stars 149 forks source link

Check if the browser supports Flash #31

Closed alesnav closed 11 years ago

alesnav commented 11 years ago

One function included: "_fnHasFlash"

returns a boolean:

Then, I edited one statement of "_fnCreateButton" function. Target: not to create any Flash button if the browser does not support it.

Please, check it, it is very useful for mobile devices which does not support Flash... This way, every Flash button will be shown as text button.

Thanks to albertein for publishing this way to check Flash capabilities. See StackOverflow post: http://stackoverflow.com/questions/998245/how-can-i-detect-if-flash-is-installed-and-if-not-display-a-hidden-div-that-inf

alesnav commented 11 years ago

Sorry for the repeated comments... I had several tags opened in my browser... you know -_-

alesnav commented 11 years ago

Closed... forget two lines of code...