mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-21 04:12:01 +02:00
.tabs removed
This commit is contained in:
committed by
GitHub
parent
d56448431d
commit
5c1dcdb0fb
@@ -319,11 +319,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h1>Navigation</h1>
|
<h1>Navigation</h1>
|
||||||
<ul class="tabs">
|
|
||||||
<li class="tab current" data-tab="tab-1">ul.tabs</li>
|
|
||||||
<li class="tab" data-tab="tab-2">columns</li>
|
|
||||||
</ul>
|
|
||||||
<div id="tab-1" class="tab-content current">
|
|
||||||
<nav role="navigation">
|
<nav role="navigation">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="">About</a></li>
|
<li><a href="">About</a></li>
|
||||||
@@ -372,9 +368,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<p>nav.navbar</p>
|
<p>nav.navbar</p>
|
||||||
</div>
|
|
||||||
<!-- end .tab-content -->
|
<hr>
|
||||||
<div id="tab-2" class="tab-content">
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h3>Company</h3>
|
<h3>Company</h3>
|
||||||
@@ -436,8 +431,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- .end .grid -->
|
<!-- .end .grid -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end .tab-content -->
|
|
||||||
</div>
|
|
||||||
<!-- .end .wrap -->
|
<!-- .end .wrap -->
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
@@ -1803,50 +1796,9 @@
|
|||||||
<section class="aligncenter">
|
<section class="aligncenter">
|
||||||
<!--.wrap = container 1200px -->
|
<!--.wrap = container 1200px -->
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div id="tab-3" class="tab-content current">
|
|
||||||
<h1 class="text-landing">Tell a Story</h1>
|
<h1 class="text-landing">Tell a Story</h1>
|
||||||
<p class="text-intro"><strong>Hi, this is WebSlides</strong>. HTML presentations made simple. <br>I'm a cute solution with clean markup and <strong>lovely CSS</strong>.</p>
|
<p class="text-intro"><strong>Hi, this is WebSlides</strong>. HTML presentations made simple. <br>I'm a cute solution with clean markup and <strong>lovely CSS</strong>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab-4" class="tab-content">
|
|
||||||
<ul class="flexblock features">
|
|
||||||
<li>
|
|
||||||
<div>
|
|
||||||
<svg class="fa-heart-o">
|
|
||||||
<use xlink:href="#fa-heart-o"></use>
|
|
||||||
</svg>
|
|
||||||
<h2>Indexed content</h2>
|
|
||||||
Sharing is caring.
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div>
|
|
||||||
<h2>
|
|
||||||
<svg class="fa-magic">
|
|
||||||
<use xlink:href="#fa-magic"></use>
|
|
||||||
</svg>
|
|
||||||
Just essential features
|
|
||||||
</h2>
|
|
||||||
Keyboard navigation...
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div>
|
|
||||||
<svg class="fa-bolt">
|
|
||||||
<use xlink:href="#fa-bolt"></use>
|
|
||||||
</svg>
|
|
||||||
<h2>
|
|
||||||
Prototype faster
|
|
||||||
</h2>
|
|
||||||
with clean code
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<ul class="tabs">
|
|
||||||
<li class="tab current" data-tab="tab-3">Purpose</li>
|
|
||||||
<li class="tab" data-tab="tab-4">Benefits</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
<section class="bg-black aligncenter">
|
<section class="bg-black aligncenter">
|
||||||
<!-- Overlay/Opacity: [class*="bg-"] > .background.dark or .light -->
|
<!-- Overlay/Opacity: [class*="bg-"] > .background.dark or .light -->
|
||||||
@@ -3134,25 +3086,6 @@
|
|||||||
<script defer src="../static/js/svg-icons.js"></script>
|
<script defer src="../static/js/svg-icons.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var slide = jQuery('#webslides').webslides();
|
var slide = jQuery('#webslides').webslides();
|
||||||
|
|
||||||
jQuery(document).ready(function($){
|
|
||||||
// Tabs
|
|
||||||
jQuery('ul.tabs li').click(function(){
|
|
||||||
var $this = jQuery(this);
|
|
||||||
var tab_id = $this.attr('data-tab');
|
|
||||||
jQuery('ul.tabs li').removeClass('current');
|
|
||||||
jQuery('.tab-content').removeClass('current');
|
|
||||||
$this.addClass('current');
|
|
||||||
jQuery("#"+tab_id).addClass('current');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Prototype better, faster. To show the grid/baseline.png, press Enter on keyboard
|
|
||||||
jQuery(document).keypress(function(e) {
|
|
||||||
if(e.which == 13) {
|
|
||||||
jQuery('body').toggleClass('baseline').css('height', $(document).height());
|
|
||||||
}
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Reference in New Issue
Block a user