So I've been using EE for some time now (since 1.6) and have been using 2.x for the past few months. I know that Ellis added the Jquery module, but I've seen absolutely no useful tutorials or information on how to properly use it.
For instance, I require a jquery slider. Before I simply got by with vanilla javascript but for this particular project that's simply not practical.
So how would I go about utilizing a jquery slider (from an external third party, like Craftyslide) within EE itself?
Here's what I have right now (which isn't working):
<!-- header start -->
<head>
<meta charset="UTF-8">
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javasript"></script>
<script src="/JS/craftyslide.js" type="text/javascript"></script>
<link href='http://fonts.googleapis.com/css?family=Muli' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:500' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="{stylesheet='site/stratagon.css'}">
<link rel="stylesheet" type="text/css" href="{stylesheet='site/style.css'}">
<link href="{stylesheet='site/SpryTabbedPanels.css'}" rel="stylesheet" type="text/css">
<link href="{stylesheet='site/craftyslide.css'}" rel="stylesheet" type="text/css" />
<script src="/JS/SpryTabbedPanels.js" type="text/javascript"></script>
<title>{site_name}</title>
</head>
<!-- header end -->
....
<!-- slider start -->
{if segment_1 == ''}
<div id="slideshow">
<ul>
<li>
<img src="http://farm6.static.flickr.com/5270/5627221570_afdd85f16a_z.jpg" alt="" title="Light Trails" />
</li>
<li>
<img src="http://farm6.static.flickr.com/5146/5627204218_b83b2d25d6_z.jpg" alt="" title="Bokeh" />
</li>
<li>
<img src="http://farm6.static.flickr.com/5181/5626622843_783739c864_z.jpg" alt="" title="Blossoms" />
</li>
<li>
<img src="http://farm6.static.flickr.com/5183/5627213996_915aa49939_z.jpg" alt="" title="Funky Painting" />
</li>
<li>
<img src="http://farm6.static.flickr.com/5182/5626649425_fde8610329_z.jpg" alt="" title="Vintage Chandelier" />
</li>
</ul>
</div>
<script>
$("#slideshow").craftyslide();
</script>
{/if}
<!-- slider end -->
^This is a snippet, not the complete template obviously (it's pretty meaty). But it contains all the important bits concerning the slider.
I have the appropriate jquery linked and working, I have the js file on the server in the right location and the code is all right as its taken directly from the provided demo file. But nothing works whatsoever.
Definitely need help here.
Edit: May have gotten it working. Apparently it didn't like the jquery version I was linking too via Google.
It -may- be fully working with this:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
Edit: Well it's getting closer. Images are displaying and transitions work. It will now progress to the second slide and then stop..