HomeHome  
  • WelcomeWelcome  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Correction: Scrolling announcements

    avatar
    • Administrator

        Reputation : 312
        Registered on : 2012-02-22
        Posts : 2315
        School of codes courses: coming soon
      Correction: Scrolling announcements


      Scrolling announcements



      Buttercup wrote:In order to perform the scrolling announcement option, we've made some modifications. By consequence, PunBB & PhpBB2 forums with the modified template: overall_header.tpl must modify the code:

      Replace:
      Code:
      <!-- BEGIN switch_ticker -->
            $(document).ready(function() {
                ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
            });
          <!-- END switch_ticker -->

      By
      Code:
       <!-- BEGIN switch_ticker -->
                $(document).ready(function() {           
                    Ticker.start({
                      height : {switch_ticker.HEIGHT},
                      spacing : {switch_ticker.SPACING},
                      speed : {switch_ticker.SPEED},
                      direction : '{switch_ticker.DIRECTION}',
                      pause : {switch_ticker.STOP_TIME}
                    });
                });
              <!-- END switch_ticker -->



      At the end, after the code modification, don't forget to publish the template to have the edits online :bene:

      Thanks Buttercup! :zen:



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      avatar
      • **


          Reputation : 3
          Registered on : 2013-04-25
          Posts : 22
          Feeling good with the new design of FMCodes
        Thanks a lot. I was going to request that, but it seems, here already it is. :)

        Similar topics

        -

        » How to scroll in div/table?

        YOUR BANNER HERE
        728x90
        DMCA.com Protection Status
        © PunBB | Contact | Report an abuse