Using jquery.

Topics: Writing themes
Jun 15, 2011 at 5:51 AM

OK so I have just started working with Orchard and my background in this area is slight... so easy question should be.

I installed the theme contoso.  I noticed there was a script called easyslider under the scripts folder within the theme.  It does indicate that you use the following markup.

 	<div id="images">
			<li><img src="images/01.jpg" alt="" /></li>
			<li><img src="images/02.jpg" alt="" /></li>
			<li><img src="images/03.jpg" alt="" /></li>
			<li><img src="images/04.jpg" alt="" /></li>
			<li><img src="images/05.jpg" alt="" /></li>

I am working in the home page specifically the area called "homefeaturedImage" (blue area). I added an HTML widget and placed the above there.... what else do I need to do to activate the script on it?



S imon

Jun 15, 2011 at 6:06 AM

There is an instructions.txt file in that theme that explains it.

Jun 15, 2011 at 6:10 AM

Thanks... missed that.  and thanks for the quick reply. Cheers.