Having trouble with the folder structure in my content directory:
-Content
--jquery-ui-1.10.4.custom
--------------------------css
--------------------------smoothness
------------------------------------jquery-ui-1.10.4.custom.css
------------------------------------jquery-ui-1.10.4.custom.min.css
--------------------------js
--------------------------jquery-1.10.2.js
--------------------------jquery-ui-1.10.4.custom.js
--------------------------jquery-ui-1.10.4.custom.min.js
In BundleConfig.cs
, I made the following additions:
bundles.Add(new StyleBundle("~/Content/jquery-ui-1.10.4.custom/css/smoothness").Include(
"~/Content/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.css",
"~/Content/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.min.css"
));
bundles.Add(new ScriptBundle("~/Content/jquery-ui-1.10.4.custom/js").Include(
"~/Content/jquery-ui-1.10.4.custom/js/jquery-1.10.2.js",
"~/Content/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js",
"~/Content/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"
));
Finally, in my code, I tried to implement this by:
@{
ViewBag.Title = "Index";
@Styles.Render("~/Content/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.css")
@Scripts.Render("~/Content/jquery-ui-1.10.4.custom/js/jquery-1.10.2.js")
@Scripts.Render("~/Content/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js")
}
<h2 class="demoHeaders">Tabs</h2>
<div id="tabs">
<ul>
<li><a href="#tabs-1">First</a></li>
<li><a href="#tabs-2">Second</a></li>
<li><a href="#tabs-3">Third</a></li>
</ul>
<div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
<div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
<div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
</div>
I am not seeing the style effect, any thoughts on what might be wrong in my code?