Make Switch Button with Jquery Mobile
You have seen facebook messenger or any other android applications which have On and Off switch button.Today we discuss about how you can make a simple and attractive switch button using a Jquery Mobile.You need a Jquery Mobile Framework to do this creative thing.I must say you have to try this.
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Facebook Messenger Style Switch Using Jquery Mobile</title>
<link rel="stylesheet" href="css/jquery.mobile-1.2.1.css" />
<link rel="stylesheet" href="css/jquery.mobile-1.2.1.min.css" />
<link rel="stylesheet" href="css/jquery.mobile.theme-1.2.1.min.css" />
<script src="js/jquery.js"></script>
<script src="js/jquery.mobile-1.2.1.js"></script>
<script src="js/jquery.mobile-1.2.1.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Facebook Messenger Style Switch Using Jquery Mobile</h1>
</div>
<div data-role="content">
<div class="contain-elements">
<select name="flip-min" id="flip-min" data-role="slider">
<option value="off">Off</option>
<option value="on">On</option>
</select>
</div>
</div>
</div>
</body>
</html>
Comments
Post a Comment