Log in

View Full Version : Featured Content Slider Questions



mindretreat
02-07-2009, 06:07 AM
1) Script Title: Featured Content Slider v2.4
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.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.

ddadmin
02-08-2009, 09:35 PM
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:


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

and modifying that to:


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?