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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:29:48+00:00 2026-05-22T14:29:48+00:00

This is has sort of been asked before but I haven’t found a straight

  • 0

This is has sort of been asked before but I haven’t found a straight answer.

$(".milestone-timeline .slider-area").slider({
  range: 'min',
  value: 298,
  min: 0,
  max: 884,
  values: [ 10, 280, 620, 850 ]    
});
$(".milestone-timeline .slider-area").slider("option", "disabled", true);

Okay, here I’ve created 4 different markers or .ui-slider-handle’s. Now, when the slider is created it will make,

<div class="slider-area">
  <div class="ui-slider-range"></div>
  <a href="#" class="ui-slider-handle"></a>
  <a href="#" class="ui-slider-handle"></a>
  <a href="#" class="ui-slider-handle"></a>
  <a href="#" class="ui-slider-handle"></a>
</div>

I’d like to apply a different class name to each of these handles at the time the slider is created.

In the jQuery UI Slider Documentation it says,

"The slider widget will create handle elements with the class ‘ui-slider-handle’ on
initialization. You can specify custom handle elements by creating and appending the
elements and adding the ‘ui-slider-handle’ class before init.
It will only create the
number of handles needed to match the length of value/values. For example, if you specify
‘values: [1, 5, 18]’ and create one custom handle, the plugin will create the other two."

Unfortunately, I’m not sure how to go about creating and appending a custom ‘ui-slider-handle’.

Any help would be GREATLY appreciated. Thanks!

  • 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-05-22T14:29:48+00:00Added an answer on May 22, 2026 at 2:29 pm

    Try adding the slider handle to the elements you’re trying to turn into sliders, like this:

    <div class="milestone-timeline">         
        <div class="ui-slider-handle"></div>
    </div>
    

    That works because you’re still adding that custom element before the slider init function is called.

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

Sidebar

Related Questions

I know something like this has been asked before, but the answer was sort
I know that this sort of question has been asked here before, but still
I know this sort of question has been asked before , but I still
Apologies if this has been asked before, but I did some searching and wasn't
I know this question has been asked here before, but none of the suggestions
This has been asked before , I know, but the answers are a bit
This question has been asked before, but the answered ones I could find were
Sorry if this has been asked before. I couldn't find a definitive answer. Can
Apologies if this has been asked before but is there any way, at all,
I'm sure this has been asked before, but I can't find anything that answers

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.