Mac Bar
How do I make an mac bar?
What is a mac bar? How do you make a mac bar? This script and codes were developed by Yang Li on 13 July 2022, Wednesday.
Mac Bar - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Mac Bar</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="macBar"> <img id="one" src="https://upload.wikimedia.org/wikipedia/commons/8/87/Google_Chrome_icon_(2011).png" alt="" /> <img id="two" src="https://cdn0.iconfinder.com/data/icons/yooicons_set01_socialbookmarks/256/social_facebook_box_blue.png" alt="" /> <img id="three" src="http://megaicons.net/static/img/icons_sizes/57/145/512/communication-gmail-icon.png" alt="" /> <img id="four" src="http://icons.iconarchive.com/icons/igh0zt/ios7-style-metro-ui/512/MetroUI-Office-Office-2013-icon.png" alt="" /> <img id="five" src="https://www.seeklogo.net/wp-content/uploads/2011/08/twitter-bird-icon-logo-vector-400x400.png" alt="" />
</div>
<img id="macScreen" src="http://dynamass.com/PLEX/plex-preview.png" alt="" /> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Mac Bar - Script Codes CSS Codes
#macBar { display: inline-block; position: relative; margin: 30%;
}
/* Students should write the CSS below this point */
#macBar img { width: 80px; height: 80px; position: absolute;
}
#two { left: 100px;
}
#three { left: 200px;
}
#four { left: 300px;
}
#five { left: 400px;
}
#macScreen { margin-left: -25%; cursor: pointer;
}
Mac Bar - Script Codes JS Codes
// This is code for students to write
$("#macBar img").hover( function() { $(this).animate({top: "-20"}); $(this).animate({top: "0"}); $("#macScreen").fadeIn("slow"); }
)
$("#macScreen").click(function(){ $(this).fadeOut("slow");
})
Developer | Yang Li |
Username | aussieyang |
Uploaded | July 13, 2022 |
Rating | 3 |
Size | 2,204 Kb |
Views | 52,624 |
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 |
Battleships Starter v2 | 2,283 Kb |
My Friends Starter | 1,573 Kb |
Animated Clock Starter | 1,571 Kb |
Recreate Google | 1,853 Kb |
Highlight Me Starter | 1,628 Kb |
CSS Photoframe | 1,736 Kb |
Goalkeeper | 2,373 Kb |
Battleships Starter | 2,429 Kb |
Responding Boxes | 1,943 Kb |
Geography Quiz | 2,136 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 |
Promodoro | Bencarp | 1,712 Kb |
Fun animations with CSS3 | Minimalmonkey | 2,360 Kb |
Compare resources on mobile sites | Gyusza | 3,226 Kb |
Prism | Pyrografix | 2,843 Kb |
Segments mouse following | Nosir | 2,909 Kb |
Css or Czz.. | Judag | 4,111 Kb |
Videogular - Overlay Play Plugin | 2fdevs | 2,432 Kb |
Gradient-ui-button-mark-fx | Tabspace | 1,881 Kb |
Menubar compass mixin | Michaelparenteau | 4,925 Kb |
My Starter Kit For Codepen | Dkdesign | 2,012 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!