This is a migrated thread and some comments may be shown as answers.

RadRotator not working in Mozilla Firefox when user has click on the stop button

2 Answers 69 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
sk
Top achievements
Rank 1
sk asked on 04 Feb 2010, 10:46 AM
hi,
i have using the radrotator as the animation for myproject. I have putting the start, pause, next and previous button in my project. Both next and previous button work fill in ie6, ie7, ie8, mozzilla firefox and chrome.  For the start and pause button i have do it by switch them  that is when page load, it will be pause button and when user have click on the the pause button, it will be change to start button. the button is all fine in ie6, ie7, ie8, google chorome but not fine in firefox. anyone know how to solve this problem? here i am attach the javascript that i have use.
<script type="text/javascript"
         
         var IsPostBack = false
        function pageLoad() { 
 
            if (IsPostBack == false) { 
             
                StartRotator($find('<%=RadRotator1.ClientID%>'), Telerik.Web.UI.RotatorScrollDirection.Left); 
            } 
 
        } 
         
        function StartRotator(rotator, direction) 
        { 
 
          if (!rotator.autoIntervalID) 
            { 
                rotator.autoIntervalID = window.setInterval(function() { rotator.showNext(direction); }, rotator.get_frameDuration()); 
                if (divStart.style.display != "none") 
                { 
                 Pause.style.display = ''
                Start.style.display = 'none'
                 divStart.className = "widget_btn_pause"
                 } 
                 else 
                 { 
                  Pause.style.display = ''
                Start.style.display = 'none'
                 divStart.className = "widget_btn_pause"
                 } 
            } 
          
        } 
 
        function StopRotator(rotator) 
        { 
      
            if (rotator.autoIntervalID) 
            { 
                window.clearInterval(rotator.autoIntervalID); 
                rotator.autoIntervalID = null
                Pause.style.display = 'none'
                Start.style.display = ''
                divStart.className = "widget_btn_play"
                div1.className = 'widget_btn_play'
            
            } 
        } 
    </script> 
best regards;
sookkien

2 Answers, 1 is accepted

Sort by
0
Accepted
Fiko
Telerik team
answered on 09 Feb 2010, 01:01 PM
Hello Sookkien,

I am not quite sure what exactly is the problem in your project. The provided information is not enough for me and for the time being I cannot provide you with a solution. Could you please open a new support ticket and send me a project that reproduces the problem, including the detailed reproduction steps? I will check it and do my best to provide a solution as soon as possible.

All the best,
Fiko
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
sk
Top achievements
Rank 1
answered on 10 Feb 2010, 01:17 AM
hello Fiko,
Thanks for reply for my question. I have get the right solution on this problem. Anyway thanks for figuring on my question.
Tags
Rotator
Asked by
sk
Top achievements
Rank 1
Answers by
Fiko
Telerik team
sk
Top achievements
Rank 1
Share this question
or