PDA

View Full Version : Need Help with Featured Content Slider v2.4



webnet
10-01-2009, 03:31 PM
1) Script Title: Featured Content Slider v2.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem: I'm actually having two problems. I can't seem to add images along with my content. I just get a placeholder.
Also, I can't seem to add more than three slides. The fourth one shows up as text outside the box for some reason.

Your help is greatly appreciated. Code below...



<h2 class="style64 style65">
SCMHA News & Events</h2>

<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->

<div id="slider1" class="sliderwrapper">

<div class="contentdiv">
<div align="left"><B>Sept 28, 2009</B><br>
<img src="/images/Warriorteam2009%20front%20page.jpg">Stoney Creek Jr B's are having their banner raising ceremony Saturday October 3rd.*Come out and join them in this wonderful celebration.*M & M meats will be there from 5:30 to 8:30 and with*admission get a free hamburger. For those of you that have passes you will get a ticket for a hamburger. ALL HOUSELEAGUE PLAYERS ARE ABLE TO GET A SEASON PASS FOR ONLY $10.00. </div>
</div>

<div class="contentdiv">
<div align="left"><B>Sept 22, 2009</B><br>
Online registration is closed for all age groups <strong>EXCEPT FOR</strong> Pre-hockey, Tyke and Juvenile. For all other age groups we are now maintaining waiting lists.&nbsp;&nbsp; Please contact Gary Willis at 905 573 2946 to have your son or daughter placed on the waiting list or </span><A href="mailto:gary.willis@ivara.com" title="mailto:gary.willis@ivara.com" class="style61">gary.willis@ivara.com</A><span class="style47"> or </span><a href="registration/registration_index.htm" class="style61">Register Here</a><span class="style47">.</div>
</div>

<div class="contentdiv">
<div align="left"><B>Aug 12, 2009</B><br>
SCMHA is currently looking for a&nbsp;Fundraising Director. Anyone interested in joining the Board of Directors please contact SCMHA Secretary <a href="mailto:rszumilas@cogeco.ca" class="style61">Michael Szumilas</a>.</div>
</div>
</div>


<div id="paginate-slider1" class="pagination">

</div>

<script type="text/javascript">

featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 5000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})

</script>

ddadmin
10-01-2009, 07:18 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

webnet
10-01-2009, 07:31 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.
http://www.scmha.org

Thanks!!!

ddadmin
10-01-2009, 10:47 PM
I don't see any images added inside your content DIVs on the target page actually, but in general, simply make sure the image paths are correct (use absolute URLs if needed). As far as getting more than 3 contents to show, just make sure each content is wrapped inside <div class="contentdiv"></div> and all contained within the main DIV container.

webnet
10-02-2009, 03:03 PM
Thanks so much. I noticed i had some extra div tags that was messing things up. thanks again.