Hi..
I'm having trouble with Radrotator Slideshow.
I've had the Radrotator Slideshow with animation type "Fade" for quite a while now. It has been working flawlessly for quite a while as a "banner" module for my project.
I recently updated telerik (for some other reason), so It's the newest version.. Now I also want to add buttons to my slideshow, to allow going back or forward in my banner module. I still want it to work like slideshow though, automatically rotating, like it always have.
So what I did was:
- Add javascript:
function showNextItem(dir, id) {
var oRotator = $find(id);
if (dir == 0) {
oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Right);
}
else {
oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
}
}
- And add two images OUTSIDE the radrotator with onclick functions like showNextItem(1,'<% =rotator.ClientID %>');
.. At first sight it worked perfectly, but after testing a little, I soon realised that in IE, after clicking abit and letting it scroll a bit (and perhaps change window and back again), the buttons stop working. :-( I can't reproduce the same error in firefox.
Edit: I CAN reproduce the same error in firefox, and in Firefox the slideshow also seems to stop when the problem occurs.
Any Ideas what might be wrong?
Thanks,
Jørgen.
I'm having trouble with Radrotator Slideshow.
I've had the Radrotator Slideshow with animation type "Fade" for quite a while now. It has been working flawlessly for quite a while as a "banner" module for my project.
I recently updated telerik (for some other reason), so It's the newest version.. Now I also want to add buttons to my slideshow, to allow going back or forward in my banner module. I still want it to work like slideshow though, automatically rotating, like it always have.
So what I did was:
- Add javascript:
function showNextItem(dir, id) {
var oRotator = $find(id);
if (dir == 0) {
oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Right);
}
else {
oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
}
}
- And add two images OUTSIDE the radrotator with onclick functions like showNextItem(1,'<% =rotator.ClientID %>');
.. At first sight it worked perfectly, but after testing a little, I soon realised that in IE, after clicking abit and letting it scroll a bit (and perhaps change window and back again), the buttons stop working. :-( I can't reproduce the same error in firefox.
Edit: I CAN reproduce the same error in firefox, and in Firefox the slideshow also seems to stop when the problem occurs.
Any Ideas what might be wrong?
Thanks,
Jørgen.