Bootstrap snippet. Tabs Navigasi

This Bootstrap snippet. Tabs Navigasi, was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<html lang="en">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
	<link href="https://rawgithub.com/hayageek/jquery-upload-file/master/css/uploadfile.css" rel="stylesheet">
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
	<script src="https://rawgithub.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.min.js"></script>
</head>
<body>

	<div class="container">
		<div class="page-header">
			<h1> &nbsp; LATIHAN TABS |<small> Navigasi</small></div>

		<div class="col-md-12">
			<div class="panel with-nav-tabs panel-primary">
				<div class="panel-heading">
					<ul class="nav nav-tabs">
						<li><a href="#tab1primary" data-toggle="tab">ALL</a></li>
						<li><a href="#tab2primary" data-toggle="tab">
							<i class="fa fa-camera" aria-hidden="true"></i> Media Picture</a></li>
							<li><a href="#tab3primary" data-toggle="tab">
							<i class="fa fa-headphones" aria-hidden="true"></i> Media Audio</a></li>
							<li class="active"><a href="#tab4primary" data-toggle="tab">
							<i class="fa fa-file-text" aria-hidden="true"></i> Media File</a></li>
						</ul>
					</div>
					<div class="panel-body">
						<div class="tab-content">
							<div class="tab-pane fade" id="tab1primary">Primary 1</div>
							<div class="tab-pane fade" id="tab2primary">
								<div id="mulitplefileuploader">Upload</div>
								<div id="status"></div>
								<div id="startbutton" class="ajax-file-upload-green">Start Upload</div>
							</div>
							<div class="tab-pane fade" id="tab3primary">
								<div class="col-md-12">
									<form method="post" action="#" id="#">
										<div class="form-group files">
											<label>Upload Your File </label>
											<input type="file" class="form-control" multiple="">
										</div>
									</form>
								</div>
							</div>
							<div class="tab-pane fade in active" id="tab4primary">
								<div class="col-md-12">
									<form method="post" action="#" id="#">
										<div class="form-group files color">
											<label>Upload Your File </label>
											<input type="file" class="form-control" multiple="">
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script>
		$(document).ready(function()
			{   var settings = {
				url: "upload.php",
				method: "POST",
				allowedTypes:"jpg,png,gif,doc,pdf,zip",
				fileName: "myfile",
				multiple: true,

				dragdropWidth:1080,
				onSuccess:function(files,data,xhr)
				{
					$("#status").html("<font color='green'>Upload is success</font>");

				},
				onError: function(files,status,errMsg)
				{		
					$("#status").html("<font color='red'>Upload is Failed</font>");
				}
			}

			$("#mulitplefileuploader").uploadFile(settings);

		});

		$("#startbutton").click(function()
		{
			extraObj.startUpload();

		});
	</script>
</body>
</html>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{margin-top:20px;}
.with-nav-tabs.panel-primary .nav-tabs > li > a,
.with-nav-tabs.panel-primary .nav-tabs > li > a:hover,
.with-nav-tabs.panel-primary .nav-tabs > li > a:focus {
    color: #fff;
}
.with-nav-tabs.panel-primary .nav-tabs > .open > a,
.with-nav-tabs.panel-primary .nav-tabs > .open > a:hover,
.with-nav-tabs.panel-primary .nav-tabs > .open > a:focus,
.with-nav-tabs.panel-primary .nav-tabs > li > a:hover,
.with-nav-tabs.panel-primary .nav-tabs > li > a:focus {
    color: #fff;
    background-color: #3071a9;
	border-color: transparent;
}
.with-nav-tabs.panel-primary .nav-tabs > li.active > a,
.with-nav-tabs.panel-primary .nav-tabs > li.active > a:hover,
.with-nav-tabs.panel-primary .nav-tabs > li.active > a:focus {
	color: #428bca;
	background-color: #fff;
	border-color: #428bca;
	border-bottom-color: transparent;
}
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu {
    background-color: #428bca;
    border-color: #3071a9;
}
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > li > a {
    color: #fff;   
}
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
    background-color: #3071a9;
}
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > .active > a,
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
    background-color: #4a9fe9;
}

.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 120px 0px 85px 35%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}
.files input:focus{     outline: 2px dashed #92b0b3;  outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear; border:1px solid #92b0b3;
 }
.files{ position:relative}
.files:after {  pointer-events: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 50px;
    right: 0;
    height: 56px;
    content: "";
    background-image: url(https://image.flaticon.com/icons/png/128/109/109612.png);
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
}
.color input{ background-color:#f1f1f1;}
.files:before {
    position: absolute;
    bottom: 10px;
    left: 0;  pointer-events: none;
    width: 100%;
    right: 0;
    height: 57px;
    content: " or drag it here. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}
                                    

Similar snippets

Bootstrap snippet bs4 types of timelines

bs4 types of timelines

View

Bootstrap snippet bs4 activity list

bs4 activity list

View

Bootstrap snippet bs4 3d slider vue js

bs4 3d slider vue js

View

Bootstrap snippet Gallery of images

Gallery of images

View

Bootstrap snippet Simple Comment panel

Simple Comment panel

View

Bootstrap snippet Update user profile

Update user profile

View

Bootstrap snippet bs4 simple chat app

bs4 simple chat app

View

Bootstrap snippet shop user profile with ticket

shop user profile with ticket

View

Bootstrap snippets. Tabs Navigasi

About this bootstrap snippet

This bootstrap snippet, Tabs Navigasi, was published on Sep 5th 2017, 03:52 by Edza Pratama and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 189 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.2.0

This snippet is based on bootstrap 3.2.0 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working