jQuery UI Widgets › Forums › Getting Started › Change slider theme
Tagged: Cisco Catalysts, Cisco Products, Cisco Switches
This topic contains 6 replies, has 4 voices, and was last updated by admin 3 weeks, 2 days ago.
-
AuthorChange slider theme Posts
-
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.
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 BorislavovjQWidgets Team
https://www.jqwidgets.com/Sorry, I can’t send the code as per my company policy. Btw, Can we change the style of slider thumb.
`<!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});
})Hi Aryan29,
You need to include the jqx.fluent.css file after jqx.base.css and set the ‘theme’ property to ‘fluent’.
Regards,
Peter` Slider Value:7 //Content of jqxSlider.js $(document).ready(function(){ $(“#slider”).jqxSlider({value:5, mode:’fixed’,height:6}); })
Thank you for the update.
-
AuthorPosts
You must be logged in to reply to this topic.