Closed alesnav closed 10 years ago
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
At this moment, I use the "fnInit" function to initialize these "converted" buttons as disabled, but it would be nice if anyopne include a method to get it from here.
Thanks!
This is not a bad idea at all - thanks for sending the pull request. I'll look through it in more detail when I get a chance - hopefully next week sometime and pull it in. Personally i hate needing to use flash for those buttons, but there just isn't a way of providing their functionality in Javascript...
I hate flash, too. Anyway... we have to live with it, unless someone creates another way to get it done.
Thanks
Fixed in 95fa46b5814. Thanks for bringing this up!
One function included: "_fnHasFlash"
returns a boolean:
Then, I edited two statements of "_fnCreateButton" function. Target: not to create any Flash button if the browser does not support it. If the browser don't support a Flash button, it will be a simple text button.