PHP simple plain text menu, suggestions ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sergio

    PHP simple plain text menu, suggestions ?

    for my web site I am looking for a simple PHP plain text menu system, the
    menu would have at least four levels and about 200 links, at starting only
    the main levels should appear, for example :

    MATHEMATICS
    HISTORY
    GEOMETRY

    once you click on one of these a submenu would appear

    MATHEMATICS
    Functions
    Limits
    Derivatives
    ......
    HISTORY
    GEOMETRY

    the same when you click on a submenu (at least four levels required)

    Additional requirements :
    a) the menu should use Javascript when the browser supports it,
    alternatively (when the browser doesn't support Javascript) it can show all
    the items open or (a much better alternative) to process the menu from
    server.
    b) it wouldn't use frames
    c) it would include some mouseover effect when the cursor is over a link
    d) it should support the most popular browsers

    I think that all these requirements are familiar but nevertheless I wasn't
    able to find out a menu (freeware or commercial) which supports all these
    features so I will appreciate suggestions and comments,

    Sergio


  • Joseph S.

    #2
    Re: PHP simple plain text menu, suggestions ?

    Sergio wrote:[color=blue]
    > for my web site I am looking for a simple PHP plain text menu system, the
    > menu would have at least four levels and about 200 links, at starting only
    > the main levels should appear, for example :
    >
    > MATHEMATICS
    > HISTORY
    > GEOMETRY
    >
    > once you click on one of these a submenu would appear
    >
    > MATHEMATICS
    > Functions
    > Limits
    > Derivatives
    > ......
    > HISTORY
    > GEOMETRY
    >
    > the same when you click on a submenu (at least four levels required)
    >
    > Additional requirements :
    > a) the menu should use Javascript when the browser supports it,
    > alternatively (when the browser doesn't support Javascript) it can show all
    > the items open[/color]
    For javascript menus (and for browsers without Javascript, but with
    generic hover support )
    see http://www.alistapart.com/articles/horizdropdowns/
    and http://www.alistapart.com/articles/dropdowns/

    (in general, http://www.alistapart.com/ has useful articles)
    [color=blue]
    > c) it would include some mouseover effect when the cursor is over a link[/color]
    The above two show how to use CSS to get good mouseover effects
    [color=blue]
    > d) it should support the most popular browsers[/color]
    IE6(should have Javascript enabled) Mozilla, Firefox(dont need
    Javascript)
    [color=blue]
    > or (a much better alternative) to process the menu from
    > server.[/color]
    If you need this, you have the downside that for every menu click, your
    user's request goes to the server,i.e., your page gets reloaded. You
    can do it with your menus stored in a text file or better, in a table.
    And, then, get the data into a structure like the following 2-D array:
    id,text,link,pa rentid
    0, root, nolink, -
    1, MATH, http://www.math.org, 0
    2, SCIENCE, http://www.science.org, 0
    3, ALGEBRA, http://www.algebra.math.org,1
    4, PHYSICS, http://www.physics.science.org,2

    and so on,
    and then go through the array to generate the menus.

    HTH,
    Joseph S.

    Comment

    • Sergio

      #3
      PHP simple plain text menu, suggestions ?

      "Joseph S." <js_dev@rediffm ail.com> ha scritto nel messaggio
      news:1131103237 .001265.63210@g 44g2000cwa.goog legroups.com...

      for my web site I am looking for a simple PHP plain text menu system, the
      menu would have at least four levels and about 200 links, at starting only
      the main levels should appear, for example :

      MATHEMATICS
      HISTORY
      GEOMETRY

      once you click on one of these a submenu would appear

      MATHEMATICS
      Functions
      Limits
      Derivatives
      ......
      HISTORY
      GEOMETRY

      the same when you click on a submenu (at least four levels required)

      Additional requirements :
      a) the menu should use Javascript when the browser supports it,
      alternatively (when the browser doesn't support Javascript) it can show all
      the items open or (a much better alternative) to process the menu from
      server.
      b) it wouldn't use frames
      c) it would include some mouseover effect when the cursor is over a link
      d) it should support the most popular browsers

      I think that all these requirements are familiar but nevertheless I wasn't
      able to find out a menu (freeware or commercial) which supports all these
      features so I will appreciate suggestions and comments,
      [color=blue]
      > If you need this, you have the downside that for every menu click, your
      >....
      > and so on,
      > and then go through the array to generate the menus.
      > HTH,
      > Joseph S.[/color]

      thank you Joseph,
      I think that with custom code it would be easy to process the selection
      (point a of additional requirements) from the server (see for example the
      code in PHP Layers menu by Marco Pratesi), however for this particolar
      project I am looking for a commercial or freeware package which already
      include all these features, I wonder if there is one !

      Best regards,

      Sergio


      Comment

      • Peter van Schie

        #4
        Re: PHP simple plain text menu, suggestions ?

        Sergio wrote:[color=blue]
        > for my web site I am looking for a simple PHP plain text menu system, the
        > menu would have at least four levels and about 200 links, at starting only
        > the main levels should appear, for example :[/color]

        Hi Sergio,

        Check out the phplayers menu. I've used it before and it works like a
        charm and is easy to maintain:

        Download PHP Layers Menu for free. A DHTML menu system providing also accessibility (no-JavaScript) solutions.


        HTH.
        Peter.
        --

        Comment

        • Sergio

          #5
          Re: PHP simple plain text menu, suggestions ?


          "Peter van Schie" <vanschie.peter @gmail.com> ha scritto nel messaggio
          news:436b4b2c$0 $11080$e4fe514c @news.xs4all.nl ...[color=blue]
          > Sergio wrote:[color=green]
          > > for my web site I am looking for a simple PHP plain text menu system,[/color][/color]
          the[color=blue][color=green]
          > > menu would have at least four levels and about 200 links, at starting[/color][/color]
          only[color=blue][color=green]
          > > the main levels should appear, for example :[/color]
          >
          > Hi Sergio,
          > Check out the phplayers menu. I've used it before and it works like a
          > charm and is easy to maintain:
          > http://phplayersmenu.sourceforge.net/
          > HTH.
          > Peter.[/color]

          thank you Peter,
          I agree that PHP Layers is a very good menu system but it would require some
          customization to implement a simple plain text menu (not static) as that
          described, for this project I would prefer to use a code already tested for
          including the above mentioned features,
          may be I am wrong but I wasn't able to find a suitable solution also here :



          perhaps a commercial solution ?

          Sergio


          Comment

          • Peter van Schie

            #6
            Re: PHP simple plain text menu, suggestions ?

            Sergio wrote:[color=blue]
            >
            > thank you Peter,
            > I agree that PHP Layers is a very good menu system but it would require some
            > customization to implement a simple plain text menu (not static)[/color]

            Hi Sergio,

            Maybe true, although the website mentions:
            "accessibil ity is provided for text-only browsers."

            So I'd think it's not too hard to implement.

            Anyways good luck with your search.

            Peter.
            --

            Comment

            • Sergio

              #7
              Re: PHP simple plain text menu, suggestions ?


              "Peter van Schie" <vanschie.peter @gmail.com> ha scritto nel messaggio
              news:436b5bff$0 $11069$e4fe514c @news.xs4all.nl ...[color=blue]
              > Sergio wrote:[color=green]
              > > thank you Peter,
              > > I agree that PHP Layers is a very good menu system but it would require[/color][/color]
              some[color=blue][color=green]
              > > customization to implement a simple plain text menu (not static)[/color]
              > Hi Sergio,[/color]
              [color=blue]
              > Maybe true, although the website mentions:
              > "accessibil ity is provided for text-only browsers."
              > So I'd think it's not too hard to implement.
              > Anyways good luck with your search.
              > Peter.[/color]

              at last I think I'll purchase this :

              Network Solutions - Original domain name registration and reservation services with variety of internet-related business offerings. Quick, dependable and reliable.


              although it doesn't comply with all my spec's it seems that which comes
              closest,
              best regards,
              Sergio


              Comment

              Working...