asp.net mvc - javascript unhandled exception in skelJs in ASP MVC 4 -
i tried use template html5 web site view of mvc 4 application. template here: http://html5up.net/helios/
unfortunately have problem this. tried put main frame of these template in _layout page. put other parts in index.chtml problem when run program visual studio says there unhandled exception in skel.min.js :
this.insertbefore(b,a.me)
my _layout page here : </script>
<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><a href="#" id="logo">helios</a></h1> <hr /> <span class="byline">another fine freebie html5 up</span> </header> <footer> <a href="#banner" class="button circled scrolly">start</a> </footer> </div> <!-- nav --> <nav id="nav"> <ul> <li><a href="index.html">home</a></li> <li> <span>dropdown</span> <ul> <li><a href="#">lorem ipsum dolor</a></li> <li><a href="#">magna phasellus</a></li> <li><a href="#">etiam dolore nisl</a></li> <li> <span>and submenu …</span> <ul> <li><a href="#">lorem ipsum dolor</a></li> <li><a href="#">phasellus consequat</a></li> <li><a href="#">magna phasellus</a></li> <li><a href="#">etiam dolore nisl</a></li> </ul> </li> <li><a href="#">veroeros feugiat</a></li> </ul> </li> <li><a href="left-sidebar.html">left sidebar</a></li> <li><a href="right-sidebar.html">right sidebar</a></li> <li><a href="no-sidebar.html">no sidebar</a></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><a href="#">nisl fermentum integer</a></h3> </header> <span class="timestamp">3 hours ago</span> </article> </li> <li> <article class="post stub"> <header> <h3><a href="#">phasellus portitor lorem</a></h3> </header> <span class="timestamp">6 hours ago</span> </article> </li> <li> <article class="post stub"> <header> <h3><a href="#">magna tempus consequat</a></h3> </header> <span class="timestamp">yesterday</span> </article> </li> <li> <article class="post stub"> <header> <h3><a href="#">feugiat lorem ipsum</a></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"> <a href="http://mdomaradzki.deviantart.com/art/air-lounge-385212062" class="image full"><img src="../../images/pic10.jpg" alt="" /></a> </div> <div class="6u"> <a href="http://mdomaradzki.deviantart.com/art/paris-city-streets-ii-382623606" class="image full"><img src="../../images/pic11.jpg" alt="" /></a> </div> </div> <div class="row quarter no-collapse"> <div class="6u"> <a href="http://mdomaradzki.deviantart.com/art/trainride-visions-383309985" class="image full"><img src="../../images/pic12.jpg" alt="" /></a> </div> <div class="6u"> <a href="http://mdomaradzki.deviantart.com/art/paris-metro-382623851" class="image full"><img src="../../images/pic13.jpg" alt="" /></a> </div> </div> <div class="row quarter no-collapse"> <div class="6u"> <a href="http://mdomaradzki.deviantart.com/art/cliffs-of-coogee-ii-366961860" class="image full"><img src="../../images/pic14.jpg" alt="" /></a> </div> <div class="6u"> <a href="http://mdomaradzki.deviantart.com/art/stormy-coast-vii-366561367" class="image full"><img src="../../images/pic15.jpg" alt="" /></a> </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><a href="#" class="icon icon-twitter"><span>twitter</span></a></li> <li><a href="#" class="icon icon-facebook"><span>facebook</span></a></li> <li><a href="#" class="icon icon-google-plus"><span>google+</span></a></li> <li><a href="#" class="icon icon-pinterest"><span>pinterest</span></a></li> <li><a href="#" class="icon icon-dribbble"><span>dribbble</span></a></li> <li><a href="#" class="icon icon-linkedin"><span>linkedin</span></a></li> </ul> </section> <!-- copyright --> <div class="copyright"> <ul class="menu"> <li>© untitled. rights reserved.</li> <li>design: <a href="http://html5up.net/">html5 up</a></li> <li>demo images: <a href="http://mdomaradzki.deviantart.com/">michael domaradzki</a></li> </ul> </div> </div> </div> </div> </div> @scripts.render("~/bundles/jquery") @rendersection("scripts", required: false)
and files on link put above.
i tried contact programmer of template ( bases on engine “skeljs” ). no answer yet. i’ll happy if can help.
error details:
exception thrown @ line 5288, column 6 in http://localhost:1572/scripts/jquery-1.8.2.js 0x800a139e - javascript runtime error: syntaxerror exception thrown @ line 4, column 13743 in http://localhost:1572/scripts/jquery.min.js 0x800a139e - javascript runtime error: syntaxerror exception thrown @ line 4, column 13957 in http://localhost:1572/scripts/jquery.min.js 0x800a139e - javascript runtime error: syntaxerror unhandled exception @ line 12, column 444 in http://localhost:1572/scripts/skel.min.js 0x800a139e - javascript runtime error: notfounderror program '[10048] iisexpress.exe: managed (v4.0.30319)' has exited code 0 (0x0). program '[10048] iisexpress.exe: program trace' has exited code 0 (0x0).
you testing in ie? :) , yes has mistake jquery-1.10.2.min.js.
put on blank page , still there. fault there in "jquery-1.8.2"
Comments
Post a Comment