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

3 posts, 1 answers
  1. sk
    sk avatar
    20 posts
    Member since:
    Jan 2009

    Posted 04 Feb 2010 Link to this post

    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. Answer
    Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 09 Feb 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. sk
    sk avatar
    20 posts
    Member since:
    Jan 2009

    Posted 09 Feb 2010 Link to this post

    hello Fiko,
    Thanks for reply for my question. I have get the right solution on this problem. Anyway thanks for figuring on my question.
Back to Top