Floating menu
How do I make an floating menu?
Floating menu with greensock plugin.. What is a floating menu? How do you make a floating menu? This script and codes were developed by Krishna Babu on 11 January 2023, Wednesday.
Floating menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Floating menu</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Greensock based floating menu</h1>
<div id="left-menu"> <nav> <ul> <li><a href="#zone1"></a></li> <li><a href="#zone2"></a></li> <li><a href="#zone3"></a></li> <li><a href="#zone4"></a></li> <li><a href="#zone5"></a></li> </ul> </nav>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.11.1/TweenMax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Floating menu - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Raleway:400);
body{background-color:#333; font-family: 'Raleway', sans-serif;}
h1{ margin-bottom: 40px; text-align: center; color: #fff;
}
*{margin:0px;padding:0px;}
#left-menu{position:relative;width:100%;margin-top:10px;}
#left-menu ul{list-style:none;padding-left:10px;}
#left-menu ul li{position:relative;float:left;width:90%; height:30px;}
#left-menu ul li a{ display:block; height:20px; width:20px; background-color:#aecd00; position:absolute; left:-30px; z-index:999; border-radius:100%;
}
Floating menu - Script Codes JS Codes
TweenMax.staggerTo($("#left-menu a"), 1.2, { css: { left: 0 }, delay: 0.6, ease: Elastic.easeOut }, 0.1);
Developer | Krishna Babu |
Username | krishnab |
Uploaded | January 11, 2023 |
Rating | 3.5 |
Size | 2,077 Kb |
Views | 4,048 |
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 |
Css3 shapes | 2,518 Kb |
Slide Transition | 2,236 Kb |
No effect slideshow | 2,123 Kb |
Simple css3 loader | 1,624 Kb |
CSS3 Timeline | 3,032 Kb |
Javascript Tab | 2,394 Kb |
Customize Selector with Google Font | 2,448 Kb |
Delhi Metro | 6,344 Kb |
Calender | 2,736 Kb |
Horizontal Scrolling | 2,825 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 |
Jochaho Skeleton | Dhanushbadge | 1,689 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
Blank Starter | Mhartington | 2,171 Kb |
CSS Flip Animation | Bbodine1 | 2,525 Kb |
Wip elementary os navbar | Nickcolley | 2,993 Kb |
Template | Indra_z85 | 2,323 Kb |
AngularJS Animated Todo List | Ehaase | 2,975 Kb |
Flex Table | Simeonoff | 4,059 Kb |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
Flexbox playground | Enxaneta | 5,418 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!