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.

Make Switch Button with Jquery Mobile



<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

Popular posts from this blog

How to configure Route Redistribution of BGP, OSPF and EIGRP in Cisco Packet Tracer

Friend Request System Using PHP and MYSQL

Login, Signup and Logout Script using PHP and MySQL