Results 1 to 2 of 2

Thread: Featured Content Slider Questions

  1. #1
    Join Date
    Feb 2009
    Posts
    24
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default Featured Content Slider Questions

    1) Script Title: Featured Content Slider v2.4
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tentslider.htm
    3) Describe problem: I have 3 problems:


    Problem 1 --) I want to remove the entire pagination links below the content box. Am I have correct to remove the following codes, or is there a better way to do it?
    a) .pagination (in the contentslider.css)
    b) .pagination a (in the contentslider.css)
    c) .pagination a:hover, .pagination a.selected (in the contentslider.css)
    d) toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc] (in my main file)



    Problem 2: --) I want contents to stop repeating only when user clicks on picture or text links in my content boxes, which will take them to the specific page. I do not want the content to stop repeating when user clicks on empty spaces (not pictures or links) in the content boxes.


    Problem 3: --) There is a white border on the top and left of the content even though I formatted the content to fit exactly the content box. How do I remove these?

    I have uploaded the problems at www dot medispaboutique dot com.


    I appreciate assistance regarding this problem.

    Thank You very much in advance.
    Last edited by ddadmin; 02-08-2009 at 09:27 PM.

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

    Default

    To answer your question:

    1) The only step required is just to set the toc parameter to "markup", then empty out the pagination DIV so it contains no content.

    2) Inside the .js file, try finding the lines:

    Code:
    		sliderdiv["onclick"]=function(){ //stop content slider when slides themselves are clicked on
    			featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
    		}
    and modifying that to:

    Code:
    		sliderdiv["onclick"]=function(e){ //stop content slider when slides themselves are clicked on
    			var e=window.event||e
    			if (typeof e.target=="undefined")
    				e.target=e.srcElement
    			if (e.target.tagName=="A" || e.target.tagName=="IMG" && e.target.parentNode.tagName=="A")
    				featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
    		}
    3) I don't see a white space at the top of the Content Slider actually (FF3.x). What browser does this happen in?
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    mindretreat (02-10-2009)

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
  •