|
#1
|
|||
|
|||
|
1) Script Title: Featured Content Slider
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentslider.htm 3) Describe problem: It is not a problem, it's more like a feature request. Can this be done: when you move your mouse over the content then the sliding stops and when you move your mouse off the content then it starts sliding again (maybe with a delay)? Also when you click on the pageination link the content shows and the sliding stops, and you have to restart it, I saw how it can be changed but if you could have a timer to restart sliding so when you move your mouse off the pageination link it would restart the sliding after some time so sliding would not stop would be so much better. Can this be done? |
|
#2
|
||||
|
||||
|
In contentslider.js find the following(in black), and put in the red.
Code:
/*
pdiv[setting.revealtype]=function(){
featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
}
sliderdiv["onclick"]=function(){ //stop content slider when slides themselves are clicked on
featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
}
*/
sliderdiv["onmouseover"]=function(){ //stop content slider when slides themselves are clicked on
featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
}
sliderdiv["onmouseout"]=function(){ //stop content slider when slides themselves are clicked on
featuredcontentslider.jumpTo(setting.currentpage, window["fcsautorun"+setting.id])
}
__________________
Last edited by Nile; 07-14-2008 at 01:38 AM. |
| The Following User Says Thank You to Nile For This Useful Post: | ||
felyx (07-14-2008) | ||
|
#3
|
|||
|
|||
|
Now it stops when I move my mouse over thanks, but I would like the script to start sliding again when I move my mouse cursor outside the content div and I want this for the pagination links aswell. Can you pelase help me with that aswell?
|
|
#4
|
||||
|
||||
|
It will work for the pagination, now I have to get it to start again.
Edit: Sorry, I cant seem to figure it out
__________________
Last edited by Nile; 07-14-2008 at 01:33 AM. |
|
#5
|
|||
|
|||
|
Thank you for your help Nile I am looking for this so long I can't even remember how long exactly.
Btw I did not saw how it will work for the pagination I only saw this sentence in your post: Quote:
|
|
#6
|
||||
|
||||
|
Ok, sorry. That was my mistake. Delete all the changes I made to your script(if you applied them). Then find this line in your code(black), and add the lines in red.
Code:
/*
pdiv[setting.revealtype]=function(){
featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
}
sliderdiv["onclick"]=function(){ //stop content slider when slides themselves are clicked on
featuredcontentslider.cleartimer(setting, window["fcsautorun"+setting.id])
}
*/
__________________
|
|
#7
|
|||
|
|||
|
Don't apologise, you don't have to. Thank you for even trying to help me! Hope someone can figure it out.
|
|
#8
|
||||
|
||||
|
Did you try the script I just gave you? This one will stop if from stopping when you click on the pagination.
__________________
|
|
#9
|
|||
|
|||
|
The problem is that I need that delay with both methods. I don't ever want it to constantly stop sliding just for a predefined time interval. When I move my mouse over the content I want it to stop until I move my mouse outside of the content div then it should restart and when I click a pagination link I want it to stop but start again with a delay, lets say 10 sec so I can either move my mouse over the content div to stop sliding and start it again when moving my mouse out of the div or wait 10 seconds read what I want and let it start sliding again.
|
|
#10
|
||||
|
||||
|
I know what you mean, but I can't solve that as I said above.
__________________
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|