Announcement

Collapse
No announcement yet.

Creating CSS menus from the scratch

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

  • Creating CSS menus from the scratch

    Hi,

    I have tried to customize the CSS menu design using the default css menu feature. However there are very limited options are available to customize the look and feel. Can any one advise how to create vertical / horizontal menu from the scratch.

    Thank you in advance,

    Rozmi

  • #2
    prepare any css menu outside scriptcase, copy folders (css, js) to the _lib in SC, create a blank application and put the menu code (HTML) in your blank application like the following:

    ?>
    YOUR HTML CODE HERE
    <?php

    Do not forget to change the links for your css & js in the HTML.
    Scriptcase V8.1 Enterprise Edition.

    Comment


    • #3
      Sample of css link: it must be in the HEAD section

      <link href="../_lib/libraries/menu/menu_style.css" rel="stylesheet">

      Also it will be nice to get some information from your DB to use the variable in your menu or your dashboard
      just put the following code directly in your blank application out of your PHP close & open:

      sc_lookup(rs, "select count(id) from table_name where condition = 1");
      $variable = {rs[0][0]};

      OK now you can put your variable anywhere inside your code and you will get something nice!

      Good Luck
      Scriptcase V8.1 Enterprise Edition.

      Comment


      • #4
        Many Thanks iiiax... Perfect solution...

        Comment

        Working...
        X