So I am using twitter bootstrap for one of my latest projects… My client uses a Mac computer and when I showed him the demo, he said it would be cool if the buttons could flow with the operating system.
I was curious if anyone knew how to detect an operating system using JavaScript and move the buttons on the in the model to the left instead of the right. Also I would like to be able to move the close button to the left as well.
I remember seeing a theme that does this, but for the life of me can not find it.
Thanks for any help you can provide.
I don’t know of any plugins that would do exactly what you want, but you can detect the OS using
navigator.appversionYou could then branch your code (maybe even using just CSS) based on the OS.