Buat Sajian Drop Down Keren Hanya Dengan Add Widget

Untuk para pemula, yang gres memulai ngeblog pastinya kesulitan untuk mengatur tampilan blog biasanya untuk blogger pemula akan memakai Template standart blogger untuk sementara sambil menunggu template responsive yang cocok dengan karater dan niche yang di gunakan.

Namun alasannya yaitu tampilan template standart yang disediakan oleh blogspot itu rata-rata tidak mempunyai hidangan dropdown yang diharapkan, hanya menampilkan tombol yang hidangan yang biasa saja. Pastinya bagi seorang blogger impian untuk memodifikasi tampilan Menu selalu ada. 

Oleh alasannya yaitu itu, pada kesempatan kali admin akan membagikan beberapa referensi hidangan dropdown yang sanggup dipakai untuk para blogger pemula yang masih memakai Template Standart.


Adapun untuk memasang hidangan dropdown yang dibagikan pada artikel ini,
  1. Login terlebih dahulu ke Dashboard Blogspot.
  2. Masuk ke Menu Tata Letak atau Thema.
  3. Ganti url ("#") dan Judul Menu  pada arahan HTML yang admin bagikan.
  4. Add Gadget dan pilih HTML/JavaScript.
  5. Pasang alhasil di atas atau di bawah head (terserah anda).

Menu Drop Yang Pertama,








Untuk code html dan css yang dipakai pada Menu Drop Pertama yaitu sebagai berikut,
 <style>    #menu{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiENVqb9v7h_Jwzqxc-tBc33UJu8IQLSk-YuFTlLhGWpij2dQ_pZC4P32HOVZ2mYWLZ3XtppceI9Y3-rbEQgl2fn_nJM8dmto79J27Mw4ILH_kbfkrb2NqWhLwhk433WFCvMt1AmOOHnNij/s1600/menuse.jpg);color:#eee;height:35px;border-bottom:4px solid #666}    #menu ul,#menu li{margin:0 0;padding:0 0;list-style:none}    #menu ul{height:35px}    #menu li{float:left;display:inline;position:relative;font:bold 13px Arial;text-shadow: 0 -1px 0 #000;border-right: 1px solid #444;border-left: 1px solid #111;text-transform:uppercase}    #menu li:first-child{border-left: none}    #menu a{display:block;line-height:35px;padding:0 14px;text-decoration:none;color:#eee;}    #menu li:hover &gt; a,#menu li a:hover{background:#111}    #menu input{display:none;margin:0 0;padding:0 0;width:80px;height:35px;opacity:0;cursor:pointer}    #menu label{font:bold 30px Arial;display:none;width:35px;height:36px;line-height:36px;text-align:center}    #menu label span{font-size:12px;position:absolute;left:35px}    #menu ul.menus{height:auto;overflow:hidden;width:180px;background:#111;position:absolute;z-index:99;display:none;border:0;}    #menu ul.menus li{display:block;width:100%;font:12px Arial;text-transform:none;}    #menu li:hover ul.menus{display:block}    #menu a.prett{padding:0 27px 0 14px}    #menu a.prett::after{content:&quot;&quot;;width:0;height:0;border-width:6px 5px;border-style:solid;border-color:#eee transparent transparent transparent;position:absolute;top:15px;right:9px}    #menu ul.menus a:hover{background:#333;}    </style>    <nav id='menu'>    <input type='checkbox'/>    <label>&#8801;<span>Navigation</span></label>    <ul>     <li><a href='/'><i class='fa fa-home'/> Home</a></li>     <li><a href='/p/about.html'>About</a></li>    <li><a class='prett' href='#'>Contact</a>    <ul class='menus'>     <li><a href='#'>Facebook</a></li>     <li><a href='#'>Twitter</a></li>     <li><a href='#'>Google+</a></li>    </ul>    </li>    <li><a href='#'>Sitemap</a></li>    <li><a class='prett' href='#'>Categories</a>    <ul class='menus'>     <li><a href='#'>Cat 1</a></li>     <li><a href='#'>Cat 2</a></li>     <li><a href='#'>Cat 3</a></li>    </ul>    </li>        </ul>    </nav>   

Menu Drop Down Kedua,








Untuk code html dan css yang dipakai pada Menu Drop Kedua yaitu sebagai berikut,
 <style>    #menutop ul,    #menutop li,    #menutop span,    #menutop a {     margin: 0;     padding: 0;     position: relative;    }    #menutop {     height: 49px;     background: #006c36;     border-bottom: 4px solid #329b67;     width: auto;    }    #menutop:after,    #menutop ul:after {     content: '';     display: block;     clear: both;    }    #menutop a {     background: #006c36;     color: #ffaa00;     display: inline-block;     font-family: Helvetica, Arial, Verdana, sans-serif;     font-size: 20px;     line-height: 49px;     padding: 0 10px;     text-decoration: none;    }    #menutop ul {     list-style: none;    }    #menutop > ul,#menutop > ul > li {     float: left;    }    #menutop > ul > li > a {     color: #ffaa00;     font-size: 19px;    }    #menutop > ul > li:hover:after {     content: '';     display: block;     width: 0;     height: 0;     position: absolute;     left: 50%;     bottom: 0;     border-left: 10px solid transparent;     border-right: 10px solid transparent;     border-bottom: 10px solid #329b67;     margin-left: -10px;    }    #menutop > ul > li.active:after {     content: '';     display: block;     width: 0;     height: 0;     position: absolute;     left: 50%;     bottom: 0;     border-left: 10px solid transparent;     border-right: 10px solid transparent;     border-bottom: 10px solid #329b67;     margin-left: -10px;    }    #menutop > ul > li.active > a{         background: #006c36;    }    #menutop > ul > li:hover > a {     background: #37d697;    }    #menutop .menu-sub {     z-index: 1;    }    #menutop .menu-sub:hover > ul {     display: block;    }    #menutop .menu-sub ul {     display: none;     position: absolute;     width: 200px;     top: 100%;     left: 0;    }    #menutop .menu-sub ul li {     margin-bottom: 0px;    }    #menutop .menu-sub ul li a {     background: #006c36;     border-bottom: 1px solid #329b67;     filter: none;     font-size: 17px;     display: block;     line-height: 120%;     padding: 10px;     color: #ffaa00;    }    #menutop .menu-sub ul li:hover a {     background: #37d697;    }    #menutop .menu-sub .menu-sub:hover > ul {     display: block;    }    #menutop .menu-sub .menu-sub ul {     display: none;     position: absolute;     left: 100%;     top: 0;    }    #menutop .menu-sub .menu-sub ul li a {     background: #006c36;     border-bottom: 1px solid #329b67;    }    #menutop .menu-sub .menu-sub ul li a:hover {     background: #37d697;     .links-ads{width:336px;height:280px}    @media (max-width:450px){     .links-ads{width:300px;height:250px}    }    @media (min-width:500px){     .links-ads{width:336px;height:280px}    }    @media (min-width:800px){     .links-ads{width:600px;height:300px}    }    </style>    <div id='menutop'>    <ul>      <li class='active'><a href='/' target='_blank'><span>Home</span></a></li>      <li class='menu-sub'><a href='https://agungpanduan.blogspot.co.id/search/label/Tutorial%20Wilcom%20e2'><span>Wilcom</span></a></li>    <li class='menu-sub'><a href='https://agungpanduan.blogspot.co.id/search/label/Tutorial%20Corel'><span>CorelDraw</span></a></li>      <li class='menu-sub'><a href='https://agungpanduan.blogspot.co.id/search/label/Komputer'><span>Komputer</span></a>       <ul>         <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com/search/label/Jaringan%20dan%20Internet'><span>Jaringan dan Internet</span></a>                   <ul>            <li><a href='#'><span>Sub Item</span></a></li>            <li class='last'><a href='#'><span>Sub Item</span></a></li>          </ul>    </li>    <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com/search/label/Problem%20PC'><span>Problem Komputer (PC)</span></a></li>         <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com/search/label/Software'><span>Download Software</span></a></li>    <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com/search/label/TopazRip-X%20dan%20Sublimasi'><span>Printer, TopazRip-X dan Sublimasi</span></a>    </li>       </ul>      </li>      <li class='menu-sub'><a href='https://agungpanduan.blogspot.co.id/search/label/Artikel%20Lain'><span>Office</span></a>        <ul>         <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com/search/label/Excel'><span>Microsoft Excel</span></a></li>    <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com/search/label/M.Office%20Word'><span>Microsoft Word</span></a></li>       </ul>    </li>    <li class='menu-sub'><a href='https://tempatnyadownloadterbaru.blogspot.com//search?q=sitemap'><span>Sitemap</span></a></li>    </ul>    </div>   

Menu Drop Down Ketiga



Untuk code html dan css yang dipakai pada Menu Drop Ketiga yaitu sebagai berikut,
 <style>    table{margin-bottom:20px;width:100%;}    th{font-weight:bold;}    thead th{background:#c3d9ff;}    th,td,caption{padding:4px 10px 4px 5px;}    tr.even td{background:#e5ecf9;}    tfoot{font-style:italic;}    caption{background:#eee;}    li ul,li ol{margin:0;}    ul,ol{margin:0 20px 20px 0;padding-left:20px;}    ul{list-style-type:disc;}    ol{list-style-type:decimal;}    dl{margin:0 0 20px 0;}    dl dt{font-weight:bold;}    dd{margin-left:20px;}    blockquote{margin:20px;color:#666;}    pre{margin:20px 0;white-space:pre;}    pre,code,tt{font:13px 'andale mono','lucida console',monospace;line-height:1.384;}    #search{overflow:hidden;}    .menus,.menus *{margin:0;padding:0;list-style:none;list-style-type:none;line-height:1;}    .menus ul{position:absolute;top:-999em;width:100%;}    .menus ul li{width:100%;}    .menus li:hover{visibility:inherit;}    .menus li{float:left;position:relative;}    .menus a{display:block;position:relative;}    .menus li:hover ul,.menus li.sfHover ul{left:0;top:100%;z-index:99;}    .menus li:hover li ul,.menus li.sfHover li ul{top:-999em;}    .menus li li:hover ul,.menus li li.sfHover ul{left:100%;top:0;}    .menus li li:hover li ul,.menus li li.sfHover li ul{top:-999em;}    .menus li li li:hover ul,.menus li li li.sfHover ul{left:100%;top:0;}    .sf-shadow ul{padding:0 8px 9px 0;-moz-border-radius-bottomleft:17px;-moz-border-radius-topright:17px;-webkit-border-top-right-radius:17px;-webkit-border-bottom-left-radius:17px;}    .menus .sf-shadow ul.sf-shadow-off{background:transparent;}    .menu-primary-container{float:left;padding:0;position:relative;height:34px;z-index:400;margin-left:-15px;margin-top:10px;}    .menu-primary{}    .menu-primary ul{min-width:160px;}    .menu-primary li a{color:#3e7834;padding:11px 15px;text-decoration:none;font-family:'Oswald',Sans-serif;font-size:12px;text-transform:uppercase;font-weight:normal;}    .menu-primary li a:hover,.menu-primary li a:active,.menu-primary li a:focus,.menu-primary li:hover > a,.menu-primary li.current-cat > a,.menu-primary li.current_page_item > a,.menu-primary li.current-menu-item > a{color:#19b300;outline:0;}    .menu-primary li li a{color:#fff;text-transform:none;background:#17a300;padding:10px 15px;margin:0;border:0;font-weight:normal;}    .menu-primary li li a:hover,.menu-primary li li a:active,.menu-primary li li a:focus,.menu-primary li li:hover > a,.menu-primary li li.current-cat > a,.menu-primary li li.current_page_item > a,.menu-primary li li.current-menu-item > a{color:#fff;background:#19b300;outline:0;border-bottom:0;text-decoration:none;}    .menu-primary a.sf-with-ul{padding-right:20px;min-width:1px;}    .menu-primary .sf-sub-indicator{position:absolute;display:block;overflow:hidden;right:0;top:0;padding:9px 10px 0 0;}    .menu-primary li li .sf-sub-indicator{padding:9px 10px 0 0;}    .wrap-menu-primary .sf-shadow ul{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmnajDbhFA4kgix7gcghhHHb6v-1VP5Q0umZQbXlKQa9RwM_YfjalVxYT2ndp-YftHHNWBqUZmHPd4Q48d6tqus4mIsNCKliSS3DaZtSsea0wcRO9EavADbBqlklp-7Qbk2NY7Ovqc2Dnz/s1600/menu-primary-shadow.png') no-repeat bottom right;}    .menu-secondary-container{position:relative;height:44px;z-index:300;background:#19b300;margin-bottom:10px;}    .menu-secondary{}    .menu-secondary ul{min-width:160px;}    .menu-secondary li a{color:#fff;padding:16px 15px 15px 15px;text-decoration:none;font-family:'Oswald',Sans-serif;font-size:13px;text-transform:uppercase;font-weight:normal;}    .menu-secondary li a:hover,.menu-secondary li a:active,.menu-secondary li a:focus,.menu-secondary li:hover > a,.menu-secondary li.current-cat > a,.menu-secondary li.current_page_item > a,.menu-secondary li.current-menu-item > a{color:#fff;background:#f85200;outline:0;}    .menu-secondary li li a{color:#fff;background:#19b300;padding:10px 15px;text-transform:none;margin:0;font-weight:normal;}    .menu-secondary li li a:hover,.menu-secondary li li a:active,.menu-secondary li li a:focus,.menu-secondary li li:hover > a,.menu-secondary li li.current-cat > a,.menu-secondary li li.current_page_item > a,.menu-secondary li li.current-menu-item > a{color:#ff;background:#f85200;outline:0;}    .menu-secondary a.sf-with-ul{padding-right:26px;min-width:1px;}    .menu-secondary .sf-sub-indicator{position:absolute;display:block;overflow:hidden;right:0;top:0;padding:14px 13px 0 0;}    .menu-secondary li li .sf-sub-indicator{padding:9px 13px 0 0;}    .wrap-menu-secondary .sf-shadow ul{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0O2ataWE8vcAe9TPJ15M7haLNl3F1Di3qmMsmMxAJVm-300Tj-AXsCVuuApjqCNT942ErD0175WofRmtzDvxVebx-MlbJr7hu-ClIRWSkScqDTQYBJb40vxx9eaRe5I8IUcbr26IPI5ce/s1600/menu-secondary-shadow.png') no-repeat bottom right;}    </style>    <script type='text/javascript'>    //<![CDATA[    jQuery.noConflict();    jQuery(function () {      jQuery('ul.menu-primary').superfish({        animation: {          opacity: 'show'        },        autoArrows: true,        dropShadows: false,        speed: 200,        delay: 800      });    });    jQuery(document).ready(function() {    jQuery('.menu-primary-container').mobileMenu({      defaultText: 'Menu',      className: 'menu-primary-responsive',      containerClass: 'menu-primary-responsive-container',      subMenuDash: '&ndash;'    });    });    jQuery(document).ready(function() {    var blloc = window.location.href;    jQuery("#pagelistmenusblogul li a").each(function() {     var blloc2 = jQuery(this).attr('href');     if(blloc2 == blloc) {       jQuery(this).parent('li').addClass('current-cat');     }    });    });    jQuery(function () {      jQuery('ul.menu-secondary').superfish({        animation: {          opacity: 'show'        },        autoArrows: true,        dropShadows: false,        speed: 200,        delay: 800      });    });    jQuery(document).ready(function() {    jQuery('.menu-secondary-container').mobileMenu({      defaultText: 'Navigation',      className: 'menu-secondary-responsive',      containerClass: 'menu-secondary-responsive-container',      subMenuDash: '&ndash;'    });    jQuery(".post").fitVids();    });    jQuery(document).ready(function () {    jQuery('.flexslider').flexslider({      namespace: "flex-", //{NEW} String: Prefix string attached to the class of every element generated by the plugin      selector: ".slidespbt > li", //{NEW} Selector: Must match a simple pattern. '{container} > {slide}' -- Ignore pattern at your own peril      animation: "fade", //String: Select your animation type, "fade" or "slide"      easing: "swing", //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported!      direction: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical"      reverse: false, //{NEW} Boolean: Reverse the animation direction      animationLoop: true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end      smoothHeight: true, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode       startAt: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide)      slideshow: true, //Boolean: Animate slider automatically      slideshowSpeed: 5000, //Integer: Set the speed of the slideshow cycling, in milliseconds      animationSpeed: 600, //Integer: Set the speed of animations, in milliseconds      initDelay: 0, //{NEW} Integer: Set an initialization delay, in milliseconds      randomize: false, //Boolean: Randomize slide order      // Usability features      pauseOnAction: true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended.      pauseOnHover: true, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering      useCSS: true, //{NEW} Boolean: Slider will use CSS3 transitions if available      touch: true, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices      video: false, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches      // Primary Controls      controlNav: false, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage      directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false)      prevText: "Previous", //String: Set the text for the "previous" directionNav item      nextText: "Next", //String: Set the text for the "next" directionNav item      // Secondary Navigation      keyboard: true, //Boolean: Allow slider navigating via keyboard left/right keys      multipleKeyboard: false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present.      mousewheel: false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel      pausePlay: false, //Boolean: Create pause/play dynamic element      pauseText: 'Pause', //String: Set the text for the "pause" pausePlay item      playText: 'Play', //String: Set the text for the "play" pausePlay item      // Special properties      controlsContainer: "", //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found.      manualControls: "", //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.      sync: "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.      asNavFor: "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider      // Carousel Options      itemWidth: 0, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding.      itemMargin: 0, //{NEW} Integer: Margin between carousel items.      minItems: 0, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this.      maxItems: 0, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit.      move: 0, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items.      // Callback API      start: function() {}, //Callback: function(slider) - Fires when the slider loads the first slide      before: function() {}, //Callback: function(slider) - Fires asynchronously with each slider animation      after: function() {}, //Callback: function(slider) - Fires after each slider animation completes      end: function() {}, //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous)      added: function() {}, //{NEW} Callback: function(slider) - Fires after a slide is added      removed: function() {} //{NEW} Callback: function(slider) - Fires after a slide is removed    });    });    //]]>    </script>    <!-- MENU UTAMA -->    <div class='menu-secondary-container'>    <ul class='menus menu-secondary'>    <li><a expr:href='data:blog.homepageUrl'>Home</a></li>    <li><a href='#'>Business</a>    <ul class='children'>    <li><a href='#'>Internet</a></li>    <li><a href='#'>Market</a></li>    <li><a href='#'>Stock</a></li>    </ul>    </li>    <li><a href='#'>Downloads</a>    <ul class='children'>    <li><a href='#'>Dvd</a></li>    <li><a href='#'>Games</a></li>    <li><a href='#'>Software</a>    <ul class='children'>    <li><a href='#'>Office</a>    </li>    </ul>    </li>    </ul>    </li>    <li><a href='#'>Parent Category</a>    <ul class='children'>    <li><a href='#'>Child Category 1</a>    <ul class='children'>    <li><a href='#'>Sub Child Category 1</a></li>    <li><a href='#'>Sub Child Category 2</a></li>    <li><a href='#'>Sub Child Category 3</a></li>    </ul>    </li>    <li><a href='#'>Child Category 2</a></li>    <li><a href='#'>Child Category 3</a></li>    <li><a href='#'>Child Category 4</a></li>    </ul>    </li>    <li><a href='#'>Featured</a></li>    <li><a href='#'>Health</a>    <ul class='children'>    <li><a href='#'>Childcare</a></li>    <li><a href='#'>Doctors</a></li>    </ul>    </li>    <li><a href='#'>Uncategorized</a></li>    </ul>    </div>   

Menu-menu diatas merupakan hidangan yang akan ditampilkan pada dikala dilihat dengan komputer. Oleh alasannya yaitu itu berikan mobile='no' pada widget yang ditambahkan, untuk selanjutnya ada menu yang akan ditampilkan dikala memakai Seluler atau Handphone pada artikel selanjuntnya.


Semoga Bermanfaat dan

Terima Kasih telah berkunjung di https://agungpanduan.blogspot.co.id


Sign up here with your email address to receive updates from this blog in your inbox.

0 Response to "Buat Sajian Drop Down Keren Hanya Dengan Add Widget"

Posting Komentar