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 7925331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:15:05+00:00 2026-06-03T18:15:05+00:00

Can the shape of horizontal slider in jQuery mobile be changed to semi circular?

  • 0

Can the shape of horizontal slider in jQuery mobile be changed to semi circular?

http://jquerymobile.com/test/docs/forms/slider/

I am looking in to the js file but clueless as to how to approach it. I am looking into it so that I can use it in an Android app.

Any suggestions please?

  • 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-03T18:15:06+00:00Added an answer on June 3, 2026 at 6:15 pm

    Here is the initialized HTML for that widget:

    <div role="application" class="ui-slider  ui-btn-down-c ui-btn-corner-all">
        <a href="#" class="ui-slider-handle ui-btn ui-shadow ui-btn-corner-all ui-btn-up-c" data-corners="true" data-shadow="true" data-iconshadow="true" data-wrapperels="span" data-theme="c" role="slider" aria-valuemin="0" aria-valuemax="100" aria-valuenow="33" aria-valuetext="33" title="33" aria-labelledby="slider-0-label" style="left: 33%; ">
            <span class="ui-btn-inner ui-btn-corner-all">
                <span class="ui-btn-text"></span>
            </span>
        </a>
    </div>
    

    As you can see it’s just a DIV element. So you can assign a different background-image to the DIV to show a circular track but to get the slider to move in a circular fashion will be much harder.

    Here’s your start:

    var mousedown = false;
    $(document).delegate('.ui-slider-handle', 'mousedown mouseup mousemove', function (event) {
        if (event.type == 'mousedown') {
            mousedown = true;
        } else if (event.type == 'mouseup') {
            mousedown = false;
        } else if (mousedown) {
            var max     = 150,
                percent = (parseInt(this.style.left) / 100);
            this.style.top = (50 - (Math.sin(percent) * max)) + '%';
        }
    });​
    

    And a Demo: http://jsfiddle.net/yRrYL/1/

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

Sidebar

Related Questions

I have a shape like this: <?xml version=1.0 encoding=utf-8?> <shape xmlns:android=http://schemas.android.com/apk/res/android > <stroke android:width=1dp
How can I make a vertical line and horizontal markers (an L shape) using
I have a shape in Visio which is a group. The group shape can
I am trying to make a map where a user can outline any shape
I can't seem to find the function to remove a shape or path from
What GDI methods can I use to draw the blue shape shown in the
How I can handle the Mouse Right Button Double Click event for a Shape
I really appreciate if someone can help me with using how to use shape
I have some kind of a shape consisting of vertical, horizontal and diagonal lines.
How I can convert a shape file (GIS) to text? or, How I can

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.