Announcement

Collapse
No announcement yet.

[SOLVED] ScriptCase 8 : can't center Horizontal Menu !

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] ScriptCase 8 : can't center Horizontal Menu !

    Hello,

    If you convert project from SC7 with Horizontal Menu , you can't make it in center!

    Also, I create new project with Horizontal Menu application, but I can't center menu horizontally !


    I tray many Menu style and theme but still I can't center it!



    Project test exported here:
    https://dl.dropboxusercontent.com/u/...rt_project.zip

    screen shot attached!

    My SC ver: 8.00.0044
    Attached Files

  • #2
    menu missing align property, it's fixed when I add it manually !!

    see attachment, and kindly add align property to id="idMenuCell" td tag! it has only valign !
    Attached Files

    Comment


    • #3
      You need to simply override the CSS. In the menu app's onApplicationInit event, put:

      Code:
      echo '<style type="text/css">';
      echo '.scMenuLine { text-align: center; }';
      echo '</style>';

      Comment


      • #4
        Hi,

        Do you use arabic language, right?

        The bug happens when uses right to left language.
        The problem already reported to our development team, when solved will be included in update release.

        --
        Best regard,
        Netmake team
        Attached Files
        Last edited by Artur Oliveira; 05-11-2015, 09:12 AM.

        Comment


        • #5
          Hello,

          As Arthur said, we simulate the problem and move on to our development team fix. However, I would like to leave a stopgap solution for you.

          You can use the code below in the onLoad event:
          PHP Code:
          ?>
                 <script>
                       function test() {
                            $('.scMenuHFooter').hide(); //Only if you want to not display the footer
                            $('#idMenuLine').attr('align', 'center');
                       }
                 </script>
          <?php
          Also enable footer of menu and use the code below: (Using as value)
          HTML Code:
          <script>test();</script>

          Thank you for cooperation!
          Last edited by John L. Santos; 05-11-2015, 02:53 PM.
          Best Regards,
          John L. Santos

          Bug Tracker Team
          NetMake - IT Solutions

          Comment


          • #6
            Yes, I'm using Arabic (RTL).

            John, thank you

            Comment


            • #7
              Hello,

              This problem has been solved in release 8.0.045

              Thank you!
              Best Regards,
              John L. Santos

              Bug Tracker Team
              NetMake - IT Solutions

              Comment

              Working...
              X