New navbar
How do I make an new navbar?
What is a new navbar? How do you make a new navbar? This script and codes were developed by Boaz on 16 December 2022, Friday.
New navbar - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>new navbar</title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/earlyaccess/opensanshebrew.css?ver=4.5.2'>
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css?ver=4.5.2'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Maven+Pro%3A700&ver=4.5.2'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <header class="header"> <!-- MOBILEmenu--------------> <div class="mobile-nav"><a class="fa-bar current" href="javascript:void(0)" title="Menu"><i>x</i><span>Menu</span></a> <a class="fa-phone" href="tel:0546-464178" title="Phone me"><span>Phone me</span></a> <a class="fa-envelope" href="mailto:[email protected]" title="E-mail me"><span>Email me</span></a> </div> <!-- --> <div class="rmm" id="mobile-menu"> <div class="menu-top-container"> <ul id="menu-top" class="menu"> <li id="menu-item-11" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-11"><a href="https://www.aniboaz.co.il/Blog/work">About me</a></li> <li id="menu-item-866" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-866"><a href="https://www.aniboaz.co.il/Blog/work/project-type/ux/">User experience</a></li> <li id="menu-item-867" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-867"><a href="https://www.aniboaz.co.il/Blog/work/project-type/web-design/">Web design</a></li> <li id="menu-item-868" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-868"><a href="https://www.aniboaz.co.il/Blog/work/project-type/game-design/">Game design</a></li> <li id="menu-item-49" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-49"><a href="https://www.aniboaz.co.il/Blog/">בלוג</a></li> </ul> </div> </div> <!--rmm --> <!--scrollmenu class="rmm"--> <div class="rmm" id="scrollmenu"> <!-- class="top-left"--> <div class="menu-top-container"> <ul id="menu-top-1" class="menu"> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-11"><a href="https://www.aniboaz.co.il/Blog/work">About me</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-866"><a href="https://www.aniboaz.co.il/Blog/work/project-type/ux/">User experience</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-867"><a href="https://www.aniboaz.co.il/Blog/work/project-type/web-design/">Web design</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-868"><a href="https://www.aniboaz.co.il/Blog/work/project-type/game-design/">Game design</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-49"><a href="https://www.aniboaz.co.il/Blog/">Blog</a></li> </ul> </div><a class="fa-chevron-up small" href="#top"><span>top</span></a> </div> <!--rmm --> <div class="header"> <div class="navtabs" id="hi"> <div class="menu-top-container"> <ul id="menu-top-2" class="menu"> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-11"><a href="https://www.aniboaz.co.il/Blog/work">About me</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-866"><a href="https://www.aniboaz.co.il/Blog/work/project-type/ux/">User experience</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-867"><a href="https://www.aniboaz.co.il/Blog/work/project-type/web-design/">Web design</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-868"><a href="https://www.aniboaz.co.il/Blog/work/project-type/game-design/">Game design</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-49"><a href="https://www.aniboaz.co.il/Blog/">Blog</a></li> </ul> </div> </div> <!--rmm --> <a class="fa-envelope-o" href="mailto:[email protected]"> [email protected]</a> </div>
</header>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>1<br><br><br><br><br><br>1<br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>1<br><br><br><br><br><br>2<br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>1<br><br><br><br><br><br>1<br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>1<br><br><br><br><br><br>1<br><br><br><br> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
New navbar - Script Codes CSS Codes
/*slops*/
/*orange red :#FF8800 #f1c40f*/
.navtabs a:before{content:'';display:block;height:-17px;position:relative;top:50px;right:555px; background-color:#FFC107;margin:-20px;padding:20px;z-index: 98;width:120%; -webkit-transition: all 0.7s ease-in-out; -moz-transition: all 0.7s ease-in-out; transition: all 0.7s ease-in-out;
}
.header .navtabs a:hover{background:none;color:white;z-index: 100;}
.navtabs a:hover:before, .navtabs .current a:before, .navtabs .current-menu-item a:before{background-color:#FF9800;right:0px;}
.navtabs .current a,.navtabs .current-menu-item a{color:#FF8800;margin-bottom:-8px;padding-top:0px;}
body {background-color:white; margin:0px; overflow-x: hidden; /*!important*/ width:100%; height:auto; font-family:'Open Sans Hebrew', serif; }
/*email me*/ .fa-envelope-o { background-color:white; line-height: 1.4; text-align: center; font-size: 1em; font-weight: 200; text-decoration:underline; margin:1%; padding: 5px 10px; border-radius: 2px; display: none; color: Black; text-shadow:none; -webkit-font-smoothing: antialiased; Float:right; /*!important*/
}
.tagline { position:absolute; top:50px; left:0px; margin: 0 0 0 1em;
}
#hi .fa-envelope-o { margin:0 auto;
}
/*normal header*/
.header { height:80px; Background-color:#FFC107; width:100%; left: -2PX; z-index: 200; margin: 0 auto; padding: 0; -webkit-backface-visibility: hidden; }
/*image header*/
.full-width-featured-image .header, .tax-jetpack-portfolio-type .header {Background-color: transparent;position: absolute;height:auto;margin: auto;}
.full-width-featured-image .navtabs a, .tax-jetpack-portfolio-type .navtabs a, .full-width-featured-image .navtabs a:visited, .tax-jetpack-portfolio-type .navtabs a:visited{ color:white;}
/*white header*/
.header #hi { display:inline-block; vertical-align:middle;
}
/*-scrolling menu-*/ .mobile-nav, #scrollmenu { display: flex; margin: 0 auto; padding: 0; list-style: none; width: 100%;top:0px;
box-shadow: -3px -3px 3px 0 rgba(0,0,0,0.19) , 3px 0 3px 0 rgba(0,0,0,0.19) , 0 3px 3px 0 rgba(0,0,0,0.23);
}
.header .rmm, .mobile-nav .rmm{ flex: 1; margin-bottom: 5px; text-align: center; text-decoration: none;
}
#mobile-menu, #scrollmenu { z-index:100; display:none;
}
/* Top Navigation Style */
.top{position:fixed; width: 100%;z-index:100;}
#scrollmenu { position: fixed;
display: none;/*!*/ width: 100%; max-height: 45px;line-height: 1; top: 0; z-index: 100;} /*wpfix*/#scrollmenu .menu-top-container, #scrollmenu .menu-nav-container{background-color: rgba(255, 255, 255, .93); border-bottom: 1px solid black; z-index: 100;}
#scrollmenu .fa-chevron-up{ position: fixed; left: 1%; top: 1%;}
.rmm ul , .rmm div ul { display: inline-block; margin:0; padding:0; border-bottom:1px solid #fffff;
}
.mobile-nav a, #scrollmenu a, #mobile-menu a { color:#34495E; text-decoration: none; padding:5px; letter-spacing: 0.1em; display: inline-block; z-index:105;
} #scrollmenu a:hover,#scrollmenu .current-menu-item a,#mobile-menu .current-menu-item a:hover{ color: #FFF;background-color:orange;} #mobile-menu a:hover, .header a:hover{ display:block; color: #FFF; background-color: darkorange; top:0px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;
}
.header .rmm a { position:relative; font-size:1em; text-decoration: none; letter-spacing: 0.1em; z-index:2;
}
.header li { position:relative; padding-left:0; padding-right:0; display:inline;
}
#scrollmenu li a,#scrollmenu div li a, #mobile-menu li a { overflow:hidden; position: relative; max-height: 80px; display:inline-table; margin: 0px auto 0px auto; padding: 2px 10px 4px 10px; line-height: 3.5;/*nicer*/
}
.header li a { z-index:100; font-family: 'maven pro', 'open Sans Hebrew','open sans';/*FONT*/
}
/*bg bank
#a6d2a1;#FF4B4E;#cab7e5;;#837883;#76808a#2e3e5e;*/ .fa-bar:before, .fa-phone:before, .fa-envelope:before, .fa-envelope-o:before, .fa-chevron-up:before { font-family:'Fontawesome';
}
/*------------- MOBILE ONLY mENU ---------------*/
.mobile-nav { background-color: rgba(255, 255, 255, 0.93); overflow:hidden;
position:fixed; top:0px; visiblity:hidden; display:none; height:50px; z-index:100;
}
#mobile-menu{
position: fixed;
width: 100%;
}
#mobile-menu li a {width: 100%;} .fa-bar, .mobile-nav .fa-phone, .mobile-nav .fa-envelope, .mobile-nav fa-chevron-up { display:inline-block; overflow:hidden; border-left: 0px solid black; line-height: 1em; font-size:20px; font-weight:400; padding:10px 5px 10px 5px; min-width:38px; width:27%; margin-left:3px; -webkit-font-smoothing: antialiased;
}
/*.fa-bars { font-size:25px;
}*/
.mobile-nav span { display:inline-block; MARGIN: 0 5px; line-height: 1.2em; font-size:13px; min-width:10px; width:20px; vertical-align:-15px; position:relative; Left:-2px; top:-12px
}
/*nav-"tabs"*/ .navtabs { position: absolute; top:0;left:0; width:80%; margin:0 auto; z-index:5; padding:0; text-align:justify;
}
.navtabs li { top:100%; width:16%; overflow: hidden; position: relative; font-size: 20px; transform:skewX(12deg); display: inline-block;
margin-bottom: 0;
text-align: center;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
white-space: nowrap;
padding: 10px 8px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.navtabs a { transform:skewX(-12deg); text-align:center; border-bottom: 4px white; color: Black; font-weight: 700; display: block; letter-spacing: 0; outline: none; padding: 0 auto; text-decoration: none; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
.navtabs a:visited{background-color:transparent;color:black}
.navtabs a:hover{background-color:transparent;color:white}
.fa-bar.current { border-bottom: solid 4px #F39C12; color:white;
} @media only screen and (max-width : 1046px) { #hi h1, #hi .tagline { display:none; } .navtabs { width:100%; left :2px; } .navtabs li {
width: inherit; }
}
@media only screen and (min-width : 1224px) { #mobile-menu { display:none; }.fa-envelope-o{display: inline-block;}
}
@media only screen and (max-width: 72.875em) { #mobile-menu { display:none; top:40px; } .top { z-index:99; } .rmm li { width:90%; } .rmm li a { letter-spacing:0; }
}
@media only screen and (max-width: 46em) { .tabs li { width:50%; } h1 { background-size: 120px auto; } .mobile-nav { visibility:visible; display:inline-block; } #scrollmenu, #hi, .fa-envelope-o { visibility:hidden; } #hi h1 { display:block; visibility: visible; margin-top:50px; padding:12px 2px 12px 2px; right:0px; } .header{height:inherit;}
#scrollmenu, .mobile-nav { font-weight:400; } /*RMMopenclose*/ #mobile-menu { display:block; left:-3px; background-color:Gold; border:1px solid orange; } .rmm ul { margin:0px; padding: 0px; width: 100%; max-height:41px; height:41px; } .rmm li a { display:list-item; max-height:40px; top:0px; list-style: none; z-index:999; margin:0px; line-height:2; padding-top: 0px; } .rmm li a:hover { border:0px; background-color:transparent; top:0px; padding-top: 0px; } /*end menushit*/ .mobile-nav, #scrollmenu { height:40px; width:100%; line-height: 30px; }
}
::-moz-selection {color: white;background: orange;} ::selection {color: white;background: orange;}
/*animated humburgerposition:absolute;display:inline-block;min-width:65px;width:120px;*/
a.fa-bar { cursor: pointer; text-decoration: none; }
a.fa-bar i { position: relative; display: inline-block; width: 18px; height: 5px;border-radius:12px; color:#34495E; font:bold 14px/.4 Helvetica; text-transform: uppercase; text-indent:-55px; background: #34495E; transition:all .2s ease-out;
}
a.fa-bar:hover i{color:white;}
a.fa-bar i::before, a.fa-bar i::after { content:''; width: 18px; height: 5px;border-radius:12px; background: #34495E; position: absolute; left:0; transition:all .2s ease-out;
}
a.fa-bar i::before { top:-7px;
}
a.fa-bar i::after { bottom:-7px;
}
a.fa-bar:hover i::before { top: -10px;color:white;
}
a.fa-bar:hover i::after { bottom: -10px;color:white;
}
a.fa-bar.current i { background: rgba(255,255,255,0)
}
a.fa-bar.current i::before { top:0; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -ms-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); transform: rotateZ(45deg);
}
a.fa-bar.current i::after { bottom:0; -webkit-transform: rotateZ(-45deg); -moz-transform: rotateZ(-45deg); -ms-transform: rotateZ(-45deg); -o-transform: rotateZ(-45deg); transform: rotateZ(-45deg);
}
New navbar - Script Codes JS Codes
(function($) {
//show\hide-menu
$(window).bind("load", function() { $("#mobile-menu").hide(); $(".fa-bar").removeClass('current'); $(".fa-bar").click(function () { $("#mobile-menu").slideToggle(200); $(".fa-bar").toggleClass('current'); }); $("#mobile-menu li a").click(function () { $("#mobile-menu").slideToggle(200); $(".fa-bar").toggleClass('current'); });
$(document).ready(function () {});
});
//show\hide scroll
$('h1').scroll(function () { var x = $(this).scrollTop(); $(this).css('background-position', '0% ' + parseInt(-x / 10) + 'px');
});
//nicescrolle--
$(function () { $('a[href*=#]:not([href=#])').click(function () { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top }, 1000); return false; } } });
});
//Scrollmenu--
(function ($) { $(document).ready(function () { }); $(window).scroll(function () { if ($(this).scrollTop() > 250) { $('#scrollmenu').slideDown(120); } else { $('#scrollmenu').slideUp(250); } }); $('#main').addClass('loaded');
})(jQuery);
//wider magic--
$(document).ready(function () { $('.minbutton').show(); $('.minbutton').click(function () { $("#Side").toggleClass("btm"); $(".minbutton").toggleClass("btm"); $(".home .main").toggleClass("btm"); });
});
var p = $('#Side');
var text = p.text().split(' ');
for (var i = 0, len = text.length; i < len; i = i + 1) { text[i] = '<mark>' + text[i] + '</mark>';
}
p.html(text.join(' '));
//show\hide-menu kindfilter.toggle();
$(document).ready(function () { var catfilter = $('#filters #catfilter .fa.fa-sort'); var catbuttons = $('#catfilter .js-radio-button-group'); var kindfilter = $('#kindfilter .fa.fa-sort'); var sortfilter = $('#sorts .fa.fa-sort'); if (catfilter.css("display") == "inline-block") { catbuttons.hide(); } catfilter.click(function () { catbuttons.slideToggle(200); catfilter.toggleClass('current'); }); if (kindfilter.css("display") == "inline-block") { kindbuttons.hide(); } kindfilter.click(function () { kindbuttons.slideToggle(200); kindfilter.toggleClass('current'); catfilter.toggle(); });
});
//newhome/
//twenty $(window).load(function(){ $(".twentytwenty-container").twentytwenty({default_offset_pct: 0.5}); }); ///////
$(document).ready(function () { $("#featuresSlider").flickity({ cellAlign: "left", contain: true, prevNextButtons: false }); $("#showcaseSlider").flickity({ cellAlign: "left", contain: true, prevNextButtons: false, imagesLoaded: true }); });
$(document).ready(function() { $("body").addClass("loaded"); $(function () { $('a[rel="lightbox"]').fluidbox(); });
});
})(jQuery);
Developer | Boaz |
Username | Aniboaz |
Uploaded | December 16, 2022 |
Rating | 3 |
Size | 6,055 Kb |
Views | 6,072 |
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 |
Digital assets | 1,706 Kb |
A Pen by Boaz | 10,180 Kb |
New website header | 9,167 Kb |
Online Tools | 7,134 Kb |
Online Tools 2.0 | 8,379 Kb |
Top nav menu test | 5,620 Kb |
Gofen | 8,745 Kb |
Background patterns | 3,347 Kb |
Online Tools 3.0 | 5,929 Kb |
Kanban Board | 8,227 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 |
Right Click Menu | Anodpixels | 2,252 Kb |
Tic Tac Toe | Volv | 4,862 Kb |
Canvas Fireworks | Jackrugile | 6,200 Kb |
Boxes | H3l1um | 2,563 Kb |
SVG Icons Template | Legofsalmon | 2,618 Kb |
Learning FlexBox | Alex_rodrigues | 2,821 Kb |
Count up | Alanshortis | 2,391 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Scroll to view if element partially out of view port height | ChrisMaki | 2,104 Kb |
CSS Hover Effects | Alen | 3,613 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!