| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php wp_footer(); ?>
- <script type='text/javascript' src='https://ams.mmnx.de/wp-content/themes/ams_2016/dist/holder.js'></script>
- <!-- jQuery first, then Bootstrap JS. -->
- <script src="http://holderjs.com/holder.js"></script>
- <script type="text/javascript">
- jQuery( document ).ready(function($) {
- $('#nav').Stickyfill(); // NAV
- /** TAG DER ARCHITEKTUR LISTE **/
- $(".tda-item").on("mouseenter", function() {
- $(this).find(".tda-hover").show();
- });
- $(".tda-item").on("mouseleave", function() {
- $(this).find(".tda-hover").hide();
- });
- /*$("#tda-content-0").show(); // show first thing
- $($(".tda-item")[0]).css("opacity", "0.5");
- $(".tda-item").on("hover", function() {
- $(".tda-item").css("opacity", "1");
- $(".tda-content").hide();
- $(this).css("opacity", "0.5");
- $("#tda-content-" + $(this).attr("data-id")).show();
- });*/
- /** TdA Carousel **/
- $('.owl-carousel').slick({
- dots: false,
- infinite: true,
- variableWidth: true,
- autoplay: true,
- lazyLoad: 'progressive',
- swipeToSlide: true,
- waitForAnimate: false,
- nextArrow: '<span class="icon-next" aria-hidden="true"><i class="fa fa-chevron-right" aria-hidden="true"></i></span>',
- prevArrow: '<span class="icon-prev" aria-hidden="true"><i class="fa fa-chevron-left" aria-hidden="true"></i></span>',
- });
- $(document).on('click', 'a.scroll-link[href^="#"]', function(e){
- e.preventDefault();
- $('html, body').animate({
- scrollTop: $( $.attr(this, 'href') ).offset().top
- }, 500);
- });
- $(document).on('click', 'a.nav-link.scroll-link[data-target*="#"]', function(e){
- e.preventDefault();
- $('html, body').animate({
- scrollTop: $( $.attr(this, 'data-target') ).offset().top
- }, 500);
- });
- /*$(document).on('click', 'a.nav-link.scroll-link[href*="\#"]', function(e) {
- e.preventDefault();
- var target = $(this).attr('href'), $target = $(target); {
- $('html, body').stop().animate({
- 'scrollTop' : $target.offset().top - 50
- }, 900, 'swing', function() {
- window.location.hash = target;
- });
- }
- });*/
- });
- </script>
- </body>
- </html>
|