DragToIncDec
How do I make an dragtoincdec?
Change input value by dragging label. What is a dragtoincdec? How do you make a dragtoincdec? This script and codes were developed by Kasper Mikiewicz on 21 November 2022, Monday.
DragToIncDec - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>dragToIncDec</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { color: #444; text-shadow: 0 1px rgba(255,255,255, .9); font: 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 30px 0; background-image: url(http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/grid.png);
}
p { width: 500px; margin: 0 auto 10px auto;
}
small { font-size: 75%;
}
input { font-size: 12px; color: #777; width: 30px; text-align: center; border: 1px solid #aaa; box-shadow: 0 1px 3px rgba(0,0,0, .15) inset, 0 1px 0 rgba(255,255,255, .9); border-radius: 3px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body>
<p> <label for="num1">Number 1:</label> <input type="text" name="num" value="0" id="num1">
</p>
<p> <label for="num2">Number 2:</label> <input type="text" name="num" value="0" id="num2" data-min="0"> <small>min = 0</small>
</p>
<p> <label for="num3">Number 3:</label> <input type="text" name="num" value="0" id="num3" data-max="10"> <small>max = 10</small>
</p>
<p> <label for="num4">Number 4:</label> <input type="text" name="num" value="0" id="num4" data-min="0" data-max="10"> <small>min = 0, max = 10</small>
</p>
<p> <label for="num5">Number 5:</label> <input type="text" name="num" value="0" id="num5" data-step="5"> <small>step = 5</small>
</p> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://raw.github.com/Idered/dragToIncDec/master/jQuery.dragToIncDec.js'></script> <script src="js/index.js"></script>
</body>
</html>
DragToIncDec - Script Codes CSS Codes
body { color: #444; text-shadow: 0 1px rgba(255,255,255, .9); font: 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 30px 0; background-image: url(http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/grid.png);
}
p { width: 500px; margin: 0 auto 10px auto;
}
small { font-size: 75%;
}
input { font-size: 12px; color: #777; width: 30px; text-align: center; border: 1px solid #aaa; box-shadow: 0 1px 3px rgba(0,0,0, .15) inset, 0 1px 0 rgba(255,255,255, .9); border-radius: 3px;
}
DragToIncDec - Script Codes JS Codes
/* dragToIncDec @Idered * https://github.com/Idered/dragToIncDec */
$('input').dragToIncDec();
Developer | Kasper Mikiewicz |
Username | Idered |
Uploaded | November 21, 2022 |
Rating | 3 |
Size | 2,489 Kb |
Views | 16,192 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Flat radio buttons | 2,759 Kb |
Hello bar | 3,237 Kb |
Confirmation button | 3,519 Kb |
Dropdown menu | 3,350 Kb |
Responsive color picker | 2,932 Kb |
Notifications | 3,250 Kb |
Love button | 3,597 Kb |
Simple loader | 2,645 Kb |
Animated underline | 2,593 Kb |
Degree Picker | 4,307 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Preloader | Rikki_Sixx | 2,815 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Day 11 - Calendar Card | Arnellebalane | 6,984 Kb |
Wip elementary os navbar | Nickcolley | 2,993 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 Kb |
E-mail Template | SoloMDFK | 4,871 Kb |
P1 | Vivi_Lai | 1,533 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!