Tether control
How do I make an tether control?
What is a tether control? How do you make a tether control? This script and codes were developed by Berkin on 10 September 2022, Saturday.
Tether control - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>tether control</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div style="overflow: auto; height: 500px; width: 399px; border: 1px solid #000;"> <div style="width: 3000px; height: 3000px; position: relative;"> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/>
<div style="white-space: nowrap"> <a class="drop-target" style="display: inline-block;">test</a> </div> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://rawgit.com/HubSpot/drop/master/drop.js'></script> <script src="js/index.js"></script>
</body>
</html>
Tether control - Script Codes CSS Codes
.drop-element,
.drop-element:after,
.drop-element:before,
.drop-element *,
.drop-element *:after,
.drop-element *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
.drop-element { position: absolute; display: none;
}
.drop-element.drop-open { display: block;
}
.drop-element.drop-theme-basic { max-width: 100%; max-height: 100%;
}
.drop-element.drop-theme-basic .drop-content { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: 3px solid #dbe5e3; background: #fff; padding: 20px;
}
Tether control - Script Codes JS Codes
$(document).ready(function() { var drop; drop = new Drop({ target: document.querySelector('.drop-target'), classes: 'drop-theme-basic', content: 'Welcome to the future!', openOn: 'click', constrainToScrollParent: false, constrainToWindow: false, tetherOptions: { attachment: 'top right', targetAttachment: 'bottom right', constraints: [ { to: 'scrollParent', attachment: 'together both' } ] } });
});
Developer | Berkin |
Username | berkin |
Uploaded | September 10, 2022 |
Rating | 3 |
Size | 2,582 Kb |
Views | 26,312 |
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 |
Slider, flickity | 3,037 Kb |
Big factorial | 1,567 Kb |
CSS switch, works with swipes | 4,825 Kb |
Javascript - Selection Sort | 1,577 Kb |
Touch carousel with hammer.js | 14,992 Kb |
Tap and hold carousel with hammer.js | 4,945 Kb |
Tether control | 15,630 Kb |
Javascript - Merge Sort | 1,509 Kb |
A Pen by berkin | 2,647 Kb |
Javascript - Insertion Sort | 1,501 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 |
Getting Started | Viblast | 1,500 Kb |
Animated bar chart | CreativePunch | 3,124 Kb |
SVG Animation | Pollardld | 3,133 Kb |
Tic Tac Toe | Volv | 4,862 Kb |
GrcJS | Vino6 | 2,047 Kb |
Sticky div | Kaslab | 2,225 Kb |
Simple Buttons | Haydenmills | 1,750 Kb |
Menubar compass mixin | Michaelparenteau | 4,925 Kb |
Hello People | Danburrows | 2,365 Kb |
Pure CSS Menu | Bronsrobin | 3,321 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!