Hello Everyone,
I’m new to jQuery but I decided to use it with a new site I am working on. I was able to get the project woirking correctly through a regular html page but once I loaded it onto a template for Modx Reolution it failed.
Please review both of these sites:
Modx Revolution / Not Working -
http://olympus.jloescher.com/
Non CMS / Working -
http://olympus.jloescher.com/temnplate v1.html
I use
d the below tutorial to create the image slider.
http://webdeveloperplus.com/jquery/featured-content-slider-using-jquery-ui/
This is attached as a script "assets/js/featured.js":
$(document).ready(function(){ $("#featured-hd").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); $("#featured-hd").hover( function() { $("#featured-hd").tabs("rotate",0,true); }, function() { $("#featured-hd").tabs("rotate",5000,true); } ); });
This is the HTML Source:
<ul class="ui-tabs-nav">
<li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1">
<a href="#fragment-1" style="padding: 5px;">
<img src="assets/img/hd/featured/vehicles/towncar-small.png" alt="Lincoln Town Car L" />
<span>Lincoln Town Car L Series</span>
</a>
</li>
<li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-2">
<a href="#fragment-2" style="padding: 5px;">
<img src="assets/img/hd/featured/vehicles/2011mercedesS550-small.png" alt="2011 Mercedes S550" />
<span>2011 Mercedes S550</span>
</a>
</li>
</ul>
<!-- First Content -->
<div id="fragment-1" class="ui-tabs-panel" style="">
<img src="assets/img/hd/featured/vehicles/towncar.png" alt="" />
<div class="info">
<h2><a href="#">Lincoln Town Car L Series</a></h2>
<p>Information about the car & features</p>
</div>
</div>
<div id="fragment-2" class="ui-tabs-panel ui-tabs-hide" style="">
<img src="assets/img/hd/featured/vehicles/2011mercedesS550.png" alt="" />
<div class="info">
<h2><a href="#">2011 Mercedes S550</a></h2>
<p>Information about the car & features</p>
</div>
</div>
Both site are using the same jQuery source files:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.8.15/jquery-ui.min.js"></script>
Any help would be appreciated. It may be something simple but at 1:30 AM, I might just not be able to wrap my head around it. But since the pure HTML version is working I am guessing there might be some kind of conflict?