Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9148051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:10:05+00:00 2026-06-17T11:10:05+00:00

So I am using twitter bootstrap for one of my latest projects… My client

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:10:06+00:00Added an answer on June 17, 2026 at 11:10 am

    I don’t know of any plugins that would do exactly what you want, but you can detect the OS using navigator.appversion

    var OSName="Unknown OS";
    if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
    if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
    if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
    if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux";
    

    You could then branch your code (maybe even using just CSS) based on the OS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Twitter Bootstrap on two project, one is a static HTML website
I have developed one page in my site using twitter bootstrap. In that I
I'm using twitter bootstrap to develop an app. 2 column layout. One sidebar and
I'm working on a web app using Twitter Bootstrap. In one of our views,
I am using SimpleForm and Twitter Bootstrap in two Rails 3.2 projects. Unfortunately, my
I would like to obtain the following effect using twitter bootstrap. One link for
We are using Twitter Bootstrap and FontAwesome for icon support. When deploying to one
I am working on a really simple app that is styled using twitter-bootstrap-rails. One
I'm using django with Twitter Bootstrap. My current view resembles one of the examples
I am using Twitter Bootstrap and at one place I have nested fluid-grid in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.