Results 1 to 5 of 5

Thread: Need Help with Featured Content Slider v2.4

  1. #1
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help with Featured Content Slider v2.4

    1) Script Title: Featured Content Slider v2.4

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentslider.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...

    Code:
    <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>
    Last edited by webnet; 10-01-2009 at 04:36 PM. Reason: fixed previous error

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    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!!!

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.
    DD Admin

  5. #5
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much. I noticed i had some extra div tags that was messing things up. thanks again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •