im trying to make a site like http://html5up.net/overflow , the one thing that i really dont like about it is that you can scroll down before clicking the "proceed as anticipated" button . To me this kinda defeats the point of pressing the button and making it scroll for you, if you can just scroll down manually as well.
My question is, is there a way to make the rest of the page ONLY display as soon as you pressed that button, so the user is forced to press the button and see the automated scrolling before he can see the rest of the site.
I would like the same for the next button as well "act on this message"
any help is apreciated.
this is the code
<body>
<!-- Header -->
<section id="header">
<header>
<h1>Overflow</h1>
<p>By HTML5 UP</p>
</header>
<footer>
Proceed as anticipated
</footer>
</section>
<!-- Banner -->
<section id="banner">
<header>
<h2>This is Overflow</h2>
</header>
<p>A brand new site template designed by AJ for HTML5 UP.<br />
It’s fully responsive, built on skelJS, and of course entirely free<br />
under the Creative Commons license.</p>
<footer>
Act on this message
</footer>
</section>
<!-- Feature 1 -->
<article id="first" class="container box style1 right">
<img src="images/pic01.jpg" alt="" />
<div class="inner">
<header>
<h2>Lorem ipsum<br />
dolor sit amet</h2>
</header>
<p>Tortor faucibus ullamcorper nec tempus purus sed penatibus. Lacinia pellentesque eleifend vitae est elit tristique velit tempus etiam.</p>
</div>
</article>
<!-- Feature 2 -->
<article class="container box style1 left">
<img src="images/pic02.jpg" alt="" />
<div class="inner">
<header>
<h2>Mollis posuere<br />
lectus lacus</h2>
</header>
<p>Rhoncus mattis egestas sed fusce sodales rutrum et etiam ullamcorper. Etiam egestas scelerisque ac duis magna lorem ipsum dolor.</p>
</div>
</article>
<!-- Portfolio -->
<article class="container box style2">
<header>
<h2>Magnis parturient</h2>
<p>Justo phasellus et aenean dignissim<br />
placerat cubilia purus lectus.</p>
</header>
<div class="inner gallery">
<div class="row flush">
<div class="3u"><img src="images/thumbs/01.jpg" alt="" title="Ad infinitum" /></div>
<div class="3u"><img src="images/thumbs/02.jpg" alt="" title="Dressed in Clarity" /></div>
<div class="3u"><img src="images/thumbs/03.jpg" alt="" title="Raven" /></div>
<div class="3u"><img src="images/thumbs/04.jpg" alt="" title="I'll have a cup of Disneyland, please" /></div>
</div>
<div class="row flush">
<div class="3u"><img src="images/thumbs/05.jpg" alt="" title="Cherish" /></div>
<div class="3u"><img src="images/thumbs/06.jpg" alt="" title="Different." /></div>
<div class="3u"><img src="images/thumbs/07.jpg" alt="" title="History was made here" /></div>
<div class="3u"><img src="images/thumbs/08.jpg" alt="" title="People come and go and walk away" /></div>
</div>
</div>
</article>
<!-- Contact -->
<article class="container box style3">
<header>
<h2>Nisl sed ultricies</h2>
<p>Diam dignissim lectus eu ornare volutpat orci.</p>
</header>
<form>
<div class="row half">
<div class="6u"><input type="text" class="text" name="name" placeholder="Name" /></div>
<div class="6u"><input type="text" class="text" name="email" placeholder="Email" /></div>
</div>
<div class="row half">
<div class="12u">
<textarea name="message" placeholder="Message"></textarea>
</div>
</div>
<div class="row">
<div class="12u">
<ul class="actions">
<li>Send Message</li>
</ul>
</div>
</div>
</form>
</article><section id="footer">
<ul class="icons">
<li><span>Twitter</span></li>
<li><span>Facebook</span></li>
<li><span>Google+</span></li>
<li><span>Pinterest</span></li>
<li><span>Dribbble</span></li>
<li><span>LinkedIn</span></li>
</ul>
<div class="copyright">
<ul class="menu">
<li>© Untitled. All rights reserved.</li>
<li>Design: HTML5 UP</li>
</ul>
</div>
</section>
</body>
so basicly by clicking the proceed.... button i want to display the banner section, with the act... button. when pressing the act button i want to display all the rest of the site.
I have it semi fixed now but after the second click i cant scroll anymore, please help, www.fenrak.com i uloaded it so u can see
Use overflow:hidden style on the body element. Remove it with Javascript when clicking the button.
[Edit] Example:
In styles section:
body{
overflow:hidden;
}
In javascript section (using jquery):
$(document).ready(function(){
$("#BUTTON_ID").click(function(){
$("body").css("overflow", "visible");
});
});
(btw untested code)
Related
I will try to explain what I am trying to do here. I have created a custom post named "People" and created some new posts.
Now, I have created a modal with JS with static content which works.
But instead of loading all the posts from the custom post type when the page is loaded, I want to only show the modal data on click for each specific ID. Instead of having 10 or 20 same modal output HTML when loaded.
So on click.. I want to show the data of this specific CP post.
Modal People feed HTML (each figure opens a modal):
<section class="feed">
<div class="container">
<div class="row content">
<h1><?php the_title(); ?></h1>
<div class="feed__inner">
<figure data-post-id="1" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1845534/pexels-photo-1845534.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="2" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/614810/pexels-photo-614810.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="3" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/2613260/pexels-photo-2613260.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="4" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260" />
</figure>
<figure data-post-id="5" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1782286/pexels-photo-1782286.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="6" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1858175/pexels-photo-1858175.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="7" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1468379/pexels-photo-1468379.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="8" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/2590709/pexels-photo-2590709.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="9" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/247206/pexels-photo-247206.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="10" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1599980/pexels-photo-1599980.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="11" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1172784/pexels-photo-1172784.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
<figure data-post-id="12" class="feed__item">
<img class="feed__image" data-src="https://images.pexels.com/photos/1624229/pexels-photo-1624229.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" />
</figure>
</div>
</div>
</div>
</section>
<?php require THEME_DIR_COMPONENTS . '/modal.php'; ?>
My Modal HTML:
<section class="modal">
<div class="modal__inner">
<div class="modal__bg"></div>
<span class="btn btn__close btn__close--primary btn__close--large btn__close--top-right btn__close--highlighted"></span>
<div class="container">
<div class="row modal__wrapper modal__wrapper--large modal__wrapper--dark">
<div class="col-lg-7">
<div class="modal__image">
<img draggable="false" src="https://images.pexels.com/photos/2613260/pexels-photo-2613260.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" alt="Test">
</div>
</div>
<div class="col-lg-5">
<div class="modal__content">
<div class="modal__content--top">
<h1 class="modal__title">Chantall <span>Dans</span></h1>
<span class="modal__date">15.9.2019</span>
<span class="modal__category">Muziek</span>
</div>
<div class="modal__content--bottom">
<div class="modal__description">
<p class="modal__text">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p>
<a href="#instagram" class="modal__url modal__url--secondary" target="_blank">
<span class="icon icon__instagram"></span>
Chantall95
</a>
</div>
</div>
<div class="modal__content--bottom">
<h4 class="modal__subtitle">Tags</h4>
<div class="modal__description">
<ul class="tag__list">
<li class="tag__item tag__item--primary">Modern</li>
<li class="tag__item tag__item--primary">Breakdance</li>
<li class="tag__item tag__item--primary">Freestyle</li>
<li class="tag__item tag__item--primary">urban</li>
<li class="tag__item tag__item--primary">Pop</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
How can I load modal data only if requested/on click?
You can do it with AJAX.
Create single-people.php file that outputs the post as you like and either request it via ajax on popup open.
e.g.(assumes jquery)
<script>
function openPopup(id)
{
fetch('http://example.com?p='+id).then(
function(response){
$('#popup-content').html(response.body);
$('.popup').show();
});
}
</script>
<button onclick="openPopup(1)">Open popup #1</button>
<button onclick="openPopup(2)">Open popup #2</button>
<div class="popup">
<div id="popup-content"></div>
</div>
I'm trying to port HTML template to .vue files. I know there's known problem with deeply nested DOM like in this question, but my vue.config.js already looks like that:
module.exports = {
chainWebpack: (config) => {
const vueRule = config.module.rule('vue');
vueRule.uses.clear();
const vueLoader = vueRule.use('vue-loader').loader('vue-loader');
vueLoader.options({
prettify: false,
});
},
};
npm run serve hangs on 22% forever and it looks like that:
> vue-cli-service serve
INFO Starting development server...
22% building 106/110 modules 4 active ...bout.vue?vue&type=template&id=039c5b43&
While NODE_ENV=production npm run serve runs just fine.
Here's my whole About.vue file which hangs on render:
<!DOCTYPE html>
<html lang="en">
<head>
<title>About us</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Destino project">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="styles/bootstrap4/bootstrap.min.css">
<link href="plugins/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="styles/about_styles.css">
<link rel="stylesheet" type="text/css" href="styles/about_responsive.css">
</head>
<body>
<div class="super_container">
<!-- Header -->
<header class="header">
<div class="container">
<div class="row">
<div class="col">
<div class="header_container d-flex flex-row align-items-center justify-content-start">
<!-- Logo -->
<div class="logo_container">
<div class="logo">
<div>destino</div>
<div>travel agency</div>
<div class="logo_image"><img src="images/logo.png" alt=""></div>
</div>
</div>
<!-- Main Navigation -->
<nav class="main_nav ml-auto">
<ul class="main_nav_list">
<li class="main_nav_item">Home</li>
<li class="main_nav_item active">About us</li>
<li class="main_nav_item">Offers</li>
<li class="main_nav_item">News</li>
<li class="main_nav_item">Contact</li>
</ul>
</nav>
<!-- Search -->
<div class="search">
<form action="#" class="search_form">
<input type="search" name="search_input" class="search_input ctrl_class" required="required" placeholder="Keyword">
<button type="submit" class="search_button ml-auto ctrl_class"><img src="images/search.png" alt=""></button>
</form>
</div>
<!-- Hamburger -->
<div class="hamburger ml-auto"><i class="fa fa-bars" aria-hidden="true"></i></div>
</div>
</div>
</div>
</div>
</header>
<!-- Menu -->
<div class="menu_container menu_mm">
<!-- Menu Close Button -->
<div class="menu_close_container">
<div class="menu_close"></div>
</div>
<!-- Menu Items -->
<div class="menu_inner menu_mm">
<div class="menu menu_mm">
<div class="menu_search_form_container">
<form action="#" id="menu_search_form">
<input type="search" class="menu_search_input menu_mm">
<button id="menu_search_submit" class="menu_search_submit" type="submit"><img src="images/search_2.png" alt=""></button>
</form>
</div>
<ul class="menu_list menu_mm">
<li class="menu_item menu_mm">Home</li>
<li class="menu_item menu_mm">About us</li>
<li class="menu_item menu_mm">Offers</li>
<li class="menu_item menu_mm">News</li>
<li class="menu_item menu_mm">Contact</li>
</ul>
<!-- Menu Social -->
<div class="menu_social_container menu_mm">
<ul class="menu_social menu_mm">
<li class="menu_social_item menu_mm"><i class="fa fa-pinterest" aria-hidden="true"></i></li>
<li class="menu_social_item menu_mm"><i class="fa fa-linkedin" aria-hidden="true"></i></li>
<li class="menu_social_item menu_mm"><i class="fa fa-instagram" aria-hidden="true"></i></li>
<li class="menu_social_item menu_mm"><i class="fa fa-facebook" aria-hidden="true"></i></li>
<li class="menu_social_item menu_mm"><i class="fa fa-twitter" aria-hidden="true"></i></li>
</ul>
</div>
<div class="menu_copyright menu_mm">Colorlib All rights reserved</div>
</div>
</div>
</div>
<!-- Home -->
<div class="home">
<!-- Image by https://unsplash.com/#peecho -->
<div class="home_background parallax-window" data-parallax="scroll" data-image-src="images/about_background.jpg" data-speed="0.8"></div>
<div class="container">
<div class="row">
<div class="col">
<div class="home_content">
<div class="home_content_inner">
<div class="home_title">About us</div>
<div class="home_breadcrumbs">
<ul class="home_breadcrumbs_list">
<li class="home_breadcrumb">Home</li>
<li class="home_breadcrumb">About us</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Find Form -->
<div class="find">
<!-- Image by https://unsplash.com/#garciasaldana_ -->
<div class="find_background_container prlx_parent">
<div class="find_background prlx" style="background-image:url(images/find.jpg)"></div>
</div>
<!-- <div class="find_background parallax-window" data-parallax="scroll" data-image-src="images/find.jpg" data-speed="0.8"></div> -->
<div class="container">
<div class="row">
<div class="col-12">
<div class="find_title text-center">Find the Adventure of a lifetime</div>
</div>
<div class="col-12">
<div class="find_form_container">
<form action="#" id="find_form" class="find_form d-flex flex-md-row flex-column align-items-md-center align-items-start justify-content-md-between justify-content-start flex-wrap">
<div class="find_item">
<div>Destination:</div>
<input type="text" class="destination find_input" required="required" placeholder="Keyword here">
</div>
<div class="find_item">
<div>Adventure type:</div>
<select name="adventure" id="adventure" class="dropdown_item_select find_input">
<option>Categories</option>
<option>Categories</option>
<option>Categories</option>
</select>
</div>
<div class="find_item">
<div>Min price</div>
<select name="min_price" id="min_price" class="dropdown_item_select find_input">
<option> </option>
<option>Price</option>
<option>Price</option>
</select>
</div>
<div class="find_item">
<div>Max price</div>
<select name="max_price" id="max_price" class="dropdown_item_select find_input">
<option> </option>
<option>Price</option>
<option>Price</option>
</select>
</div>
<button class="button find_button">Find</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- About -->
<div class="about">
<div class="container">
<div class="row">
<div class="col">
<div class="section_title text-center">
<h2>We are an award winning Agency</h2>
<div>take a look at our story</div>
</div>
</div>
</div>
<div class="row about_row">
<div class="col-lg-6 about_col order-lg-1 order-2">
<div class="about_content">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce fringilla lectus nec diam auctor, ut fringilla diam sagittis. Quisque vel est id justo faucibus dapibus id a nibh. Aenean suscipit consequat lacus, sit amet mollis nulla. Morbi sagittis orci id lacus convallis tempus eget sit amet metus. Sed finibus, magna at euismod aliquet, enim justo vulputate lorem, sit amet elementum dolor eros sollicitudin dui. Sed ac magna mauris. Nullam lectus odio, viverra vel mi id, interdum imperdiet nulla. </p>
<div class="button about_button">Read More</div>
</div>
</div>
<div class="col-lg-6 about_col order-lg-2 order-1">
<div class="about_image">
<img src="images/about.jpg" alt="https://unsplash.com/#sanfrancisco">
</div>
</div>
</div>
</div>
</div>
<!-- Milestones -->
<div class="milestones">
<div class="milestones_background parallax-window" data-parallax="scroll" data-image-src="images/fact_background.jpg" data-speed="0.8"></div>
<div class="container">
<div class="row">
<div class="col">
<div class="section_title text-center">
<h2>Fun facts about our Agency</h2>
<div>take a look</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-8 offset-lg-2">
<div class="milestones_text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce fringilla lectus nec diam auctor, ut fringilla diam sagittis. Quisque vel est id justo faucibus dapibus id a nibh</p>
</div>
</div>
</div>
<div class="row milestones_container">
<!-- Milestone -->
<div class="col-lg-3 milestone_col">
<div class="milestone text-center">
<div class="milestone_icon"><img src="images/milestone_1.svg" alt=""></div>
<div class="milestone_counter" data-end-value="17">0</div>
<div class="milestone_text">Mountains Climbed</div>
</div>
</div>
<!-- Milestone -->
<div class="col-lg-3 milestone_col">
<div class="milestone text-center">
<div class="milestone_icon"><img src="images/milestone_2.svg" alt=""></div>
<div class="milestone_counter" data-end-value="213">0</div>
<div class="milestone_text">Islands Visited</div>
</div>
</div>
<!-- Milestone -->
<div class="col-lg-3 milestone_col">
<div class="milestone text-center">
<div class="milestone_icon"><img src="images/milestone_3.svg" alt=""></div>
<div class="milestone_counter" data-end-value="11923">0</div>
<div class="milestone_text">Photos Taken</div>
</div>
</div>
<!-- Milestone -->
<div class="col-lg-3 milestone_col">
<div class="milestone text-center">
<div class="milestone_icon"><img src="images/milestone_4.svg" alt=""></div>
<div class="milestone_counter" data-end-value="15">0</div>
<div class="milestone_text">Cruises Organized</div>
</div>
</div>
</div>
</div>
</div>
<!-- Services -->
<div class="services">
<div class="container">
<div class="row">
<div class="col">
<div class="section_title text-center">
<h2>Popular services that we offer</h2>
<div>take a look at these offers</div>
</div>
</div>
</div>
<div class="row icon_box_container">
<!-- Icon Box -->
<div class="col-lg-4 icon_box_col">
<div class="icon_box">
<div class="icon_box_image"><img src="images/service_1.svg" class="svg" alt="https://www.flaticon.com/authors/monkik"></div>
<div class="icon_box_title">Weekend trips</div>
<p class="icon_box_text">Lorem ipsum dolor sit amet, consectetur adip iscing elit. Fusce fringilla lectus nec diam auctor, ut fringilla diam sagittis.</p>
Read More
</div>
</div>
<!-- Icon Box -->
<div class="col-lg-4 icon_box_col">
<div class="icon_box">
<div class="icon_box_image"><img src="images/service_2.svg" class="svg" alt="https://www.flaticon.com/authors/monkik"></div>
<div class="icon_box_title">Fun leisure trips</div>
<p class="icon_box_text">Lorem ipsum dolor sit amet, consectetur adip iscing elit. Fusce fringilla lectus nec diam auctor, ut fringilla diam sagittis.</p>
Read More
</div>
</div>
<!-- Icon Box -->
<div class="col-lg-4 icon_box_col">
<div class="icon_box">
<div class="icon_box_image"><img src="images/service_3.svg" class="svg" alt="https://www.flaticon.com/authors/monkik"></div>
<div class="icon_box_title">Plane tickets</div>
<p class="icon_box_text">Lorem ipsum dolor sit amet, consectetur adip iscing elit. Fusce fringilla lectus nec diam auctor, ut fringilla diam sagittis.</p>
Read More
</div>
</div>
</div>
</div>
</div>
<!-- Newsletter -->
<div class="newsletter">
<!-- Image by https://unsplash.com/#garciasaldana_ -->
<div class="newsletter_background" style="background-image:url(images/newsletter.jpg)"></div>
<div class="container">
<div class="row">
<div class="col-lg-10 offset-lg-1">
<div class="newsletter_content">
<div class="newsletter_title text-center">Subscribe to our Newsletter</div>
<div class="newsletter_form_container">
<form action="#" id="newsletter_form" class="newsletter_form">
<div class="d-flex flex-md-row flex-column align-content-center justify-content-between">
<input type="email" id="newsletter_input" class="newsletter_input" placeholder="Your E-mail Address">
<button type="submit" id="newsletter_button" class="newsletter_button">Subscribe</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="row">
<!-- Footer Column -->
<div class="col-lg-4 footer_col">
<div class="footer_about">
<!-- Logo -->
<div class="logo_container">
<div class="logo">
<div>destino</div>
<div>travel agency</div>
<div class="logo_image"><img src="images/logo.png" alt=""></div>
</div>
</div>
<div class="footer_about_text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pulvinar sed mauris eget tincidunt. Sed lectus nulla, tempor vel eleifend quis, tempus rut rum metus. Pellentesque ultricies enim eu quam fermentum hendrerit.</div>
<div class="copyright"><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by Colorlib
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></div>
</div>
</div>
<!-- Footer Column -->
<div class="col-lg-4 footer_col">
<div class="footer_latest">
<div class="footer_title">Latest News</div>
<div class="footer_latest_content">
<!-- Footer Latest Post -->
<div class="footer_latest_item">
<div class="footer_latest_image"><img src="images/latest_1.jpg" alt="https://unsplash.com/#peecho"></div>
<div class="footer_latest_item_content">
<div class="footer_latest_item_title">Brazil Summer</div>
<div class="footer_latest_item_date">Jan 09, 2018</div>
</div>
</div>
<!-- Footer Latest Post -->
<div class="footer_latest_item">
<div class="footer_latest_image"><img src="images/latest_2.jpg" alt="https://unsplash.com/#sanfrancisco"></div>
<div class="footer_latest_item_content">
<div class="footer_latest_item_title">A perfect vacation</div>
<div class="footer_latest_item_date">Jan 09, 2018</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer Column -->
<div class="col-lg-4 footer_col">
<div class="tags footer_tags">
<div class="footer_title">Tags</div>
<ul class="tags_content d-flex flex-row flex-wrap align-items-start justify-content-start">
<li class="tag">travel</li>
<li class="tag">summer</li>
<li class="tag">cruise</li>
<li class="tag">beach</li>
<li class="tag">offer</li>
<li class="tag">vacation</li>
<li class="tag">trip</li>
<li class="tag">city break</li>
<li class="tag">adventure</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
</div>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="styles/bootstrap4/popper.js"></script>
<script src="styles/bootstrap4/bootstrap.min.js"></script>
<script src="plugins/greensock/TweenMax.min.js"></script>
<script src="plugins/greensock/TimelineMax.min.js"></script>
<script src="plugins/scrollmagic/ScrollMagic.min.js"></script>
<script src="plugins/greensock/animation.gsap.min.js"></script>
<script src="plugins/greensock/ScrollToPlugin.min.js"></script>
<script src="plugins/easing/easing.js"></script>
<script src="plugins/parallax-js-master/parallax.min.js"></script>
<script src="js/about_custom.js"></script>
</body>
</html>
</template>
<script>
export default {
name: 'About',
}
</script>
Have you any idea why it runs fine in production mode while in development it can't? I've googled it very intensive, but I only know the issue with prettify which seems to be prevented in my case.
I am using fullPage.js on my project, i don't know why but when i reach the bottom of a section, fullPage.js automatically scroll me up again to the top of my web.
Is there any web to turn this function of?
thanks.
Update : last thing i noticed is that fullPage.js trying to scroll me to nearest section, because when i add empty section to my existing one and scroll near it, fullpage.js would automatically scroll me to the one on the bottom
this is my html code, for the section
<div class="container" id="fullpage">
<div class="section">
<div class="announce slide" id="announce">
<h1 class="tz-title-4 tzcolor-blue">
<span class="tzweight_Bold">Announcements</span>
</h1>
<div class="section_group" id="newsContainer">
</div>
<div class="clearfix"> </div>
<div class="holderNews text-center">
</div>
</div>
<div class="menu slide" id="menu">
<h2 class="tz-title-2">
<span class="tzweight_Bold">Menus</span>
</h2>
<div class="grid_1">
<div class="box_1">
<div class="col-md-3 menu_left">
<div class="menu_vertical">
<section class="accordation_menu">
<div>
<input id="label-1" name="lida" type="radio" checked/>
<label for="label-1" id="item1"><i class="ferme"> </i>Breakfast<i class="icon-plus-sign i-right1"></i><i class="icon-minus-sign i-right2"></i></label>
<div class="content" id="a1">
<div class="scrollbar" id="style-2">
<div class="force-overflow">
<ul class="news_list">
<li class="date">
<img src="assets/images/s1.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>1. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s2.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>2. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s3.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>3. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s4.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>4. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
</div>
</div>
</div>
</div>
<div>
<input id="label-2" name="lida" type="radio"/>
<label for="label-2" id="item2"><i class="icon-leaf" id="i2"></i>Launch<i class="icon-plus-sign i-right1"></i><i class="icon-minus-sign i-right2"></i></label>
<div class="content" id="a2">
<div class="scrollbar" id="style-2">
<div class="force-overflow">
<ul class="news_list">
<li class="date">
<img src="assets/images/s1.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>1. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s2.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>2. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s3.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>3. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s4.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>4. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
</div>
</div>
</div>
</div>
<div>
<input id="label-3" name="lida" type="radio"/>
<label for="label-3" id="item3"><i class="icon-trophy" id="i3"></i>Dinner<i class="icon-plus-sign i-right1"></i><i class="icon-minus-sign i-right2"></i></label>
<div class="content" id="a3">
<div class="scrollbar" id="style-2">
<div class="force-overflow">
<ul class="news_list">
<li class="date">
<img src="assets/images/s1.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>1. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s2.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>2. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s3.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>3. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
<ul class="news_list">
<li class="date">
<img src="assets/images/s4.jpg" class="img-responsive" alt=""/>
</li>
<li class="date_desc">
<h5>4. Menu</h5>
<p>Bacon and eggs , pancakes , Olive Oil ..</p>
</li>
<div class="clearfix"> </div>
</ul>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
<div class="col-md-9 menu_right">
<h4>Breakfast</h4>
<div class="grid_2" id="menuContainer">
</div>
</div>
<div class="clearfix"> </div>
<div class="holderMenu text-center">
</div>
</div>
<h2 class="tz-title-3">
<!-- <span class="tzweight_Bold">Special Days</span> -->
</h2>
<div class="box_2">
<!-- <div class="col-md-3">
<div class="row_1">
<h3>Sunday</h3>
<h4>19</h4>
<h3>April</h3>
<div class="border"> </div>
<h5>Birthday Celebrations</h5>
</div>
</div> -->
<!-- <div class="col-md-4">
<div class="column_right_grid calender">
<div class="cal1"><div class="clndr"><div class="clndr-controls"><div class="clndr-control-button"><p class="clndr-previous-button">previous</p></div>
<div class="month">March 2014</div><div class="clndr-control-button rightalign"><p class="clndr-next-button">next</p></div></div>
<table class="clndr-table" border="0" cellspacing="0" cellpadding="0"><thead><tr class="header-days">
<td class="header-day">Sun</td><td class="header-day">Mon</td><td class="header-day">T</td><td class="header-day">W</td><td class="header-day">T</td>
<td class="header-day">F</td><td class="header-day">S</td></tr></thead><tbody><tr><td class="day past adjacent-month last-month calendar-day-2014-02-23">
<div class="day-contents">23</div></td><td class="day past adjacent-month last-month calendar-day-2014-02-24"><div class="day-contents">24</div></td>
<td class="day past adjacent-month last-month calendar-day-2014-02-25"><div class="day-contents">25</div></td>
<td class="day past adjacent-month last-month calendar-day-2014-02-26"><div class="day-contents">26</div></td>
<td class="day past adjacent-month last-month calendar-day-2014-02-27"><div class="day-contents">27</div></td><td class="day past adjacent-month last-month calendar-day-2014-02-28"><div class="day-contents">28</div></td><td class="day past calendar-day-2014-03-01"><div class="day-contents">1</div></td></tr><tr><td class="day past calendar-day-2014-03-02"><div class="day-contents">2</div></td><td class="day past calendar-day-2014-03-03"><div class="day-contents">3</div></td><td class="day past calendar-day-2014-03-04"><div class="day-contents">4</div></td><td class="day past calendar-day-2014-03-05"><div class="day-contents">5</div></td><td class="day past calendar-day-2014-03-06"><div class="day-contents">6</div></td><td class="day past calendar-day-2014-03-07"><div class="day-contents">7</div></td><td class="day past calendar-day-2014-03-08"><div class="day-contents">8</div></td></tr><tr><td class="day past calendar-day-2014-03-09"><div class="day-contents">9</div></td><td class="day past event calendar-day-2014-03-10"><div class="day-contents">10</div></td><td class="day past event calendar-day-2014-03-11"><div class="day-contents">11</div></td><td class="day past event calendar-day-2014-03-12"><div class="day-contents">12</div></td><td class="day past event calendar-day-2014-03-13"><div class="day-contents">13</div></td><td class="day past event calendar-day-2014-03-14"><div class="day-contents">14</div></td><td class="day past calendar-day-2014-03-15"><div class="day-contents">15</div></td></tr><tr><td class="day past calendar-day-2014-03-16"><div class="day-contents">16</div></td><td class="day past calendar-day-2014-03-17"><div class="day-contents">17</div></td><td class="day past calendar-day-2014-03-18"><div class="day-contents">18</div></td><td class="day past calendar-day-2014-03-19"><div class="day-contents">19</div></td><td class="day past calendar-day-2014-03-20"><div class="day-contents">20</div></td><td class="day past event calendar-day-2014-03-21"><div class="day-contents">21</div></td><td class="day past event calendar-day-2014-03-22"><div class="day-contents">22</div></td></tr><tr><td class="day past event calendar-day-2014-03-23"><div class="day-contents">23</div></td><td class="day past calendar-day-2014-03-24"><div class="day-contents">24</div></td><td class="day today calendar-day-2014-03-25"><div class="day-contents">25</div></td><td class="day calendar-day-2014-03-26"><div class="day-contents">26</div></td><td class="day calendar-day-2014-03-27"><div class="day-contents">27</div></td><td class="day calendar-day-2014-03-28"><div class="day-contents">28</div></td><td class="day calendar-day-2014-03-29"><div class="day-contents">29</div></td></tr><tr><td class="day calendar-day-2014-03-30"><div class="day-contents">30</div></td><td class="day calendar-day-2014-03-31"><div class="day-contents">31</div></td><td class="day adjacent-month next-month calendar-day-2014-04-01"><div class="day-contents">1</div></td><td class="day adjacent-month next-month calendar-day-2014-04-02"><div class="day-contents">2</div></td><td class="day adjacent-month next-month calendar-day-2014-04-03"><div class="day-contents">3</div></td><td class="day adjacent-month next-month calendar-day-2014-04-04"><div class="day-contents">4</div></td><td class="day adjacent-month next-month calendar-day-2014-04-05"><div class="day-contents">5</div></td></tr></tbody></table></div></div>
</div>
</div> -->
<!-- <div class="col-md-5 row_2">
<img src="assets/images/pic9.jpg" class="img-responsive" alt=""/>
<ul class="cake_hover">
<li> <i class="fb"> </i>Share <div class="clearfix"> </div></li>
<li> <i class="tw"> </i>Share <div class="clearfix"> </div></li>
</ul>
</div> -->
<!-- <div class="clearfix"> </div> -->
</div>
</div>
</div>
<div class="gallery slide" id="gallery">
<h3 class="tz-title-2">
<span class="tzweight_Bold">Gallery</span>
</h3>
<div class="gallery_box">
<div class="col_1_of_5 span_1_of_5 grid_3">
<img src="assets/images/g1.jpg" class="img-responsive" alt=""/>
</div>
<div class="col_1_of_5 span_1_of_5 grid_3">
<img src="assets/images/g2.jpg" class="img-responsive" alt=""/>
</div>
<div class="col_1_of_5 span_1_of_5 grid_3">
<img src="assets/images/g3.jpg" class="img-responsive" alt=""/>
</div>
<div class="col_1_of_5 span_1_of_5 grid_3 last">
<img src="assets/images/g4.jpg" class="img-responsive" alt=""/>
</div>
<div class="col_1_of_5 span_1_of_5 grid_3">
<img src="assets/images/g5.jpg" class="img-responsive" alt=""/>
</div>
<div class="clearfix"> </div>
</div>
</div>
<div class="about slide" id="about">
<h3 class="tz-title-2">
<span class="tzweight_Bold">About</span>
</h3>
<div class="about_desc">
<!-- <img src="assets/images/logo.png" alt=""/>
<p>This is Photoshop's version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Mauris in erat justo. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim.</p>
<p class="about_para">This is Photoshop's version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Mauris in erat justo. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim.</p> -->
</div>
</div>
<div class="contact slide" id="contact">
<h3 class="tz-title-2">
<span class="tzweight_Bold">Contact</span>
</h3>
<div class="contact_box">
<!-- <div class="col-md-6 contact_form">
<form>
<div class="column_2">
<input type="text" class="text" value="Name" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Name';}">
<input type="text" class="text" value="Email" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Email';}" style="margin-left:2.7%">
</div>
<div class="column_3">
<textarea value="Message:" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Message';}">Message:</textarea>
</div>
<div class="form-submit1">
<label class="btn btn-primary btn-normal btn-inline " target="_self"><input type="submit" value="Send"></label>
</div>
<div class="clearfix"> </div>
</form>
</div>
<div class="col-md-6">
<div class="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d3150859.767904157!2d-96.62081048651531!3d39.536794757966845!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sin!4v1408111832978"> </iframe>
</div>
</div>
<div class="clearfix"> </div> -->
</div>
</div>
</div>
</div>
And this is my javascript initialization
$('#fullpage').fullpage({
// direction: 'horizontal',
css3: true,
// scrollBar: true,
autoScrolling: false,
loopBottom: false,
continuousVertical: false,
});
I have found the problem, turns out it's the fitToSection.
I just need to turn it off by fitToSection: false during initialization
According to the documentation here
loopBottom: (default false) Defines whether scrolling down in the last section should scroll to the first one or not.
or either:
continuousVertical: (default false) Defines whether scrolling down in the last section or should scroll down to the first one and if scrolling up in the first section should scroll up to the last one. Not compatible with loopTop, loopBottom or any scroll bar present in the site (scrollBar:true or autoScrolling:false).
If that is true in your initialization of fullPage.js, you need to put it on false.
I am using slick slider for a page.Everything works great except one thing: When I drag the slide sometimes the image or text bounces and that's look really bad. What can I do to avoid that problem?
Here is my code
<section class="portfolio" id="portfolio">
<div class="container" style="height:100px">
<div class="row">
<div class="col-lg-12"></div>
</div>
</div>
<div id="portfolio_slider">
<div id="item">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 text-right">
<div id="project_name">
PROJECT<br />
NAME
</div>
<div id="project-info">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tortor erat,
laoreet ut ullamcorper vel, fermentum vel ex. Donec convallis leo sit amet auctor
rutrum. Nullam accumsan risus at quam porttitor ec tortor erat, laoreet ut
ullamcorper vel, fermentum vel tristique.
</div>
<div id="read_more">Read More...</div>
</div>
<div class="col-lg-7 col-lg-offset-1" id="project_image">
<img class="img-responsive shadow" src="http://i.imgur.com/35Lun7R.jpg" />
</div>
<div class=" col-lg-1 col-md-1 social_buttons">
<div class="centered">
<div class="flex-item" style="padding-bottom: 50px;">
<i class="fa fa-facebook"></i>
</div>
<div class="flex-item" style="padding-bottom: 50px;">
<i class="fa fa-twitter"></i>
</div>
<div class="flex-item">
<i class="fa fa-instagram"></i>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
in the code pen, in CSS, there is one class, #portfolio_slider #item with margin: top 20px remove it.
I tried to use a template HTML5 web site as view of my ASP.NET MVC 4 application. This template is here: http://html5up.net/helios/
Unfortunately I have some problem with this. I tried to put the main frame of these templates on my _layout page. Also I put other parts in index.chtml.
The problem is when I run the program, Visual Studio says there is an unhandled exception in skel.min.js which is:
this.insertBefore(b,a.me)
My _layout page is here:
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600" rel="stylesheet" type="text/css" />
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><![endif]-->
<script src="#Url.Content("~/Scripts/js/jquery.min.js")" type="text/javascript"></script>
<script src="#Url.Content("~/Scripts/js/jquery.dropotron.js")"type="text/javascript"></script>
<script src="#Url.Content("~/Scripts/js/skel.min.js")"type="text/javascript"></script>
<script src="#Url.Content("~/Scripts/js/skel-panels.min.js")"type="text/javascript"></script>
<script src="#Url.Content("~/Scripts/js/init.js")"type="text/javascript"></script>
<noscript>
<link rel="stylesheet" href="#Url.Content("~/Content/skel-noscript.css")" type="text/css"/>
<link rel="stylesheet" href="#Url.Content("~/Content/style.css")" type="text/css"/>
<link rel="stylesheet" href="#Url.Content("~/Content/style-desktop.css")" type="text/css"/>
<link rel="stylesheet" href="#Url.Content("~/Content/style-noscript.css")" type="text/css"/>
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie8.css" /><![endif]-->
#Styles.Render("~/Content/css")
#Scripts.Render("~/bundles/modernizr")
</head>
<body class="homepage">
<!-- Header -->
<div id="header">
<!-- Inner -->
<div class="inner">
<header>
<h1>Helios</h1>
<hr />
<span class="byline">Another fine freebie by HTML5 UP</span>
</header>
<footer>
Start
</footer>
</div>
<!-- Nav -->
<nav id="nav">
<ul>
<li>Home</li>
<li>
<span>Dropdown</span>
<ul>
<li>Lorem ipsum dolor</li>
<li>Magna phasellus</li>
<li>Etiam dolore nisl</li>
<li>
<span>And a submenu …</span>
<ul>
<li>Lorem ipsum dolor</li>
<li>Phasellus consequat</li>
<li>Magna phasellus</li>
<li>Etiam dolore nisl</li>
</ul>
</li>
<li>Veroeros feugiat</li>
</ul>
</li>
<li>Left Sidebar</li>
<li>Right Sidebar</li>
<li>No Sidebar</li>
</ul>
</nav>
</div>
<div>
#RenderSection("featured", required: false)
<section class="content-wrapper main-content clear-fix">
#RenderBody()
</section>
</div>
<!-- Footer -->
<div id="footer">
<div class="container">
<div class="row">
<!-- Tweets -->
<section class="4u">
<header>
<h2 class="icon icon-twitter circled"><span>Tweets</span></h2>
</header>
<ul class="divided">
<li>
<article class="tweet">
Amet nullam fringilla nibh nulla convallis tique ante sociis accumsan.
<span class="timestamp">5 minutes ago</span>
</article>
</li>
<li>
<article class="tweet">
Hendrerit rutrum quisque.
<span class="timestamp">30 minutes ago</span>
</article>
</li>
<li>
<article class="tweet">
Curabitur donec nulla massa laoreet nibh. Lorem praesent montes.
<span class="timestamp">3 hours ago</span>
</article>
</li>
<li>
<article class="tweet">
Lacus natoque cras rhoncus curae dignissim ultricies. Convallis orci aliquet.
<span class="timestamp">5 hours ago</span>
</article>
</li>
</ul>
</section>
<!-- Posts -->
<section class="4u">
<header>
<h2 class="icon icon-file circled"><span>Posts</span></h2>
</header>
<ul class="divided">
<li>
<article class="post stub">
<header>
<h3>Nisl fermentum integer</h3>
</header>
<span class="timestamp">3 hours ago</span>
</article>
</li>
<li>
<article class="post stub">
<header>
<h3>Phasellus portitor lorem</h3>
</header>
<span class="timestamp">6 hours ago</span>
</article>
</li>
<li>
<article class="post stub">
<header>
<h3>Magna tempus consequat</h3>
</header>
<span class="timestamp">Yesterday</span>
</article>
</li>
<li>
<article class="post stub">
<header>
<h3>Feugiat lorem ipsum</h3>
</header>
<span class="timestamp">2 days ago</span>
</article>
</li>
</ul>
</section>
<!-- Photos -->
<section class="4u">
<header>
<h2 class="icon icon-camera circled"><span>Photos</span></h2>
</header>
<div class="row quarter no-collapse">
<div class="6u">
<img src="../../images/pic10.jpg" alt="" />
</div>
<div class="6u">
<img src="../../images/pic11.jpg" alt="" />
</div>
</div>
<div class="row quarter no-collapse">
<div class="6u">
<img src="../../images/pic12.jpg" alt="" />
</div>
<div class="6u">
<img src="../../images/pic13.jpg" alt="" />
</div>
</div>
<div class="row quarter no-collapse">
<div class="6u">
<img src="../../images/pic14.jpg" alt="" />
</div>
<div class="6u">
<img src="../../images/pic15.jpg" alt="" />
</div>
</div>
</section>
</div>
<hr />
<div class="row">
<div class="12u">
<!-- Contact -->
<section class="contact">
<header>
<h3>Nisl turpis nascetur interdum?</h3>
</header>
<p>Urna nisl non quis interdum mus ornare ridiculus egestas ridiculus lobortis vivamus tempor aliquet.</p>
<ul class="icons">
<li><span>Twitter</span></li>
<li><span>Facebook</span></li>
<li><span>Google+</span></li>
<li><span>Pinterest</span></li>
<li><span>Dribbble</span></li>
<li><span>Linkedin</span></li>
</ul>
</section>
<!-- Copyright -->
<div class="copyright">
<ul class="menu">
<li>© Untitled. All rights reserved.</li>
<li>Design: HTML5 UP</li>
<li>Demo images: Michael Domaradzki</li>
</ul>
</div>
</div>
</div>
</div>
</div>
#Scripts.Render("~/bundles/jquery")
#RenderSection("scripts", required: false)
And the files are in the link I put above.
I tried to contact the programmer of this template (which bases it on an engine, “skelJS”). There isn't any answer yet. How can I fix this problem?
Error details:
Exception was thrown at line 5288, column 6 in http://localhost:1572/Scripts/jquery-1.8.2.js
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 4, column 13743 in http://localhost:1572/Scripts/jquery.min.js
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 4, column 13957 in http://localhost:1572/Scripts/jquery.min.js
0x800a139e - JavaScript runtime error: SyntaxError
Unhandled exception at line 12, column 444 in http://localhost:1572/Scripts/skel.min.js
0x800a139e - JavaScript runtime error: NotFoundError
The program '[10048] iisexpress.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
The program '[10048] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
You are testing in IE? :) And yes everybody has that mistake from jquery-1.10.2.min.js.
Put it on a blank page and it is still there. The fault was also there in "jquery-1.8.2"