jQuery UI Widgets Forums Getting Started Change slider theme

This topic contains 5 replies, has 4 voices, and was last updated by  TrokhymOsadchyj 1 year, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Change slider theme #133516

    Aryan29
    Participant

    Hi, How can I change the slider thumb from a rectangular box to a circle. Previously It was in circle shape but after updating to latest jqwidgets, it changes into rectangular mode.

    Change slider theme #133519

    Hi,

    Could you please share your code, I have just tested a basic slider with the latest version and the thumb is circular.

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

    Change slider theme #133521

    Aryan29
    Participant

    Sorry, I can’t send the code as per my company policy. Btw, Can we change the style of slider thumb.

    Change slider theme #133522

    Aryan29
    Participant

    `<!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”UTF-8″>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
    <title>Slider</title>
    <link rel=”stylesheet” href=”/jqwidget_3.9.1/jqwidgets/styles/jqx.base.css”>
    <script type=”text/script” src=”/jqwidget_3.9.1//scripts/jquery-1.11.1.min.js”></script>
    <script type=”text/javascript” src=”/jqwidget_3.9.1/jqwidgets/jqxcore.js”></script>
    <script type=”text/javascript” src=”/jqwidget_3.9.1/jqwidgets/jqxbuttons.js”></script>
    <script type=”text/javascript” src=”/jqwidget_3.9.1/jqwidgets/jqxscrollbar.js”></script>
    <script type=”text/javascript” src=”/jqwidget_3.9.1/jqwidgets/jqxslider.js”></script>
    </head>
    <body>
    <div id=”slider”>Value:7</div>
    <script src=”script/jqxSlider.js”></script>
    </body>
    </html>

    //Content of jqxSlider.js
    $(document).ready(function(){
    $(“#slider”).jqxSlider({value:5, mode:’fixed’,height:6});
    })

    Change slider theme #133528

    admin
    Keymaster

    Hi Aryan29,

    You need to include the jqx.fluent.css file after jqx.base.css and set the ‘theme’ property to ‘fluent’.

    Regards,
    Peter

    Change slider theme #133646

    TrokhymOsadchyj
    Participant

    interesting

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.