relative/absolute positioning

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

    #16
    Re: OT: CSS

    Thanks Michael, Andrew and Andrew,

    I indeed am looking for a horizontal menu and the Netscape stuff looks
    interesting. I will study it.

    My main problem with the example is that it is a two level menu. I want the
    option to have more levels.

    Wim


    "Michael Winter" <M.Winter@bluey onder.co.invali d> schreef in bericht
    news:opsd0xbrhn x13kvk@atlantis ...[color=blue]
    > On Wed, 8 Sep 2004 20:50:49 +0200, Wim Roffal
    > <wimroffelpleas e@nospamm-planet.nl> wrote:
    >[color=green]
    > > "Michael Winter" <M.Winter@bluey onder.co.invali d> schreef in bericht
    > > news:opsd0p6fcg x13kvk@atlantis ...
    > >[color=darkred]
    > >> On Wed, 08 Sep 2004 18:51:43 +0200, Lasse Reichstein Nielsen
    > >> <lrn@hotpop.com > wrote:
    > >>
    > >> [snip]
    > >>
    > >>> Then perhaps wrap the "div" in another, relatively positioned, "div"
    > >>> inside the "td".
    > >>
    > >> As this is for a menu, wouldn't something more semantically appropriate
    > >> than a table and nested DIVs be better, such as the commonly used
    > >> list? It would certainly involve less mark-up.[/color]
    > >
    > > Can you give an example of what you mean?[/color]
    >
    > Well first, exactly what kind of menu are you trying to produce. By the
    > looks of things, it's a drop-down, application-like menu. If that's the
    > case, take a look at:
    >
    > <URL:http://devedge.netscap e.com/viewsource/2003/devedge-redesign-js/>
    >
    > and the two links in the Conclusion. None of them are perfect, but they're
    > far better than most horizontal menus in widespread use. If it's a
    > vertical menu, take Andrew's link. If it's none of the above, you'd best
    > state your aims clearly.
    >
    > As for the semantics, stuffing a series of DIVs inside a TABLE element
    > doesn't make a lot of sense from a structural point of view.
    >
    > Mike
    >
    > --
    > Michael Winter
    > Replace ".invalid" with ".uk" to reply by e-mail.[/color]


    Comment

    • Michael Winter

      #17
      Re: OT: CSS

      On Thu, 9 Sep 2004 15:56:12 +0200, Wim Roffal
      <wimroffelpleas e@nospamm-planet.nl> wrote:

      [snip]
      [color=blue]
      > My main problem with the example is that it is a two level menu. I want
      > the option to have more levels.[/color]

      I was working on one of those. It's extremely easy using CSS 2, but IE
      doesn't support that at all well. I was in the process of adding script
      fix-ups when I needed to reinstall my operating system. Yet, despite the
      number of times I've done that, I still forget to back up all my data, so
      I ended up losing most of what I didn't store in my last backup.

      I will restart development, but I won't be finished anytime soon. For one
      thing, I hope this group will review the result. Not just a technical
      evaluation, but to test on browsers I don't have access to.

      [snip]

      Mike

      --
      Michael Winter
      Replace ".invalid" with ".uk" to reply by e-mail.

      Comment

      • kaeli

        #18
        Re: OT: CSS

        In article <chpn9q$4ub$1@r eader13.wxs.nl> , wimroffelplease @nospamm-planet.nl
        enlightened us with...[color=blue]
        > Thanks Michael, Andrew and Andrew,
        >
        > I indeed am looking for a horizontal menu and the Netscape stuff looks
        > interesting. I will study it.
        >
        > My main problem with the example is that it is a two level menu. I want the
        > option to have more levels.
        >[/color]

        Aw, heck, why re-invent the wheel?
        http://www.dynamicdrive.com

        Unless, of course, you're just coding to practice or something. Other people
        have already sweated out all the bugs and made menus as cross-browser as
        possible. Don't let them code in vain. Especially when they let you use their
        stuff for free. *grin*


        --
        --
        ~kaeli~
        The man who fell into an upholstery machine is fully
        recovered.



        Comment

        • Michael Winter

          #19
          Re: OT: CSS

          On Thu, 9 Sep 2004 13:48:03 -0500, kaeli <tiny_one@NOSPA M.comcast.net>
          wrote:

          [snip]
          [color=blue]
          > Aw, heck, why re-invent the wheel?
          > http://www.dynamicdrive.com[/color]

          Because personally, I detest that script. The site in general, in fact.
          I'd never recommend it myself. It represents everything that's discouraged
          in this group.

          That's why I do intend to produce a menu[1] that can replace Dynamic
          Drive's. It's one less reason to reference that site. :)

          [snip]

          Mike


          [1] I also intend to use it as coding practice, just as you suggested.

          --
          Michael Winter
          Replace ".invalid" with ".uk" to reply by e-mail.

          Comment

          • kaeli

            #20
            Re: OT: CSS

            In article <opsd2rgzzgx13k vk@atlantis>, M.Winter@blueyo nder.co.invalid
            enlightened us with...[color=blue]
            >[color=green]
            > > Aw, heck, why re-invent the wheel?
            > > http://www.dynamicdrive.com[/color]
            >
            > Because personally, I detest that script. The site in general, in fact.
            > I'd never recommend it myself. It represents everything that's discouraged
            > in this group.
            >[/color]

            Um, there's lots of menus there.
            http://www.dynamicdrive.com/dynamicindex1/index.html

            Which one don't you like?

            Just curious. I use, and very much like, HVMenu for my intranet application.
            I tried, but didn't like, Jim's DHTML Menu. Too complicated to customize.

            Anyway, my 2 cents, FWIW.

            --
            --
            ~kaeli~
            Can you be a closet claustrophobic?



            Comment

            • Michael Winter

              #21
              Re: OT: CSS

              On Fri, 10 Sep 2004 08:59:19 -0500, kaeli <tiny_one@NOSPA M.comcast.net>
              wrote:
              [color=blue]
              > In article <opsd2rgzzgx13k vk@atlantis>, M.Winter@blueyo nder.co.invalid
              > enlightened us with...
              >[color=green][color=darkred]
              >>> Aw, heck, why re-invent the wheel?
              >>> http://www.dynamicdrive.com[/color]
              >>
              >> Because personally, I detest that script. The site in general, in fact.
              >> I'd never recommend it myself. It represents everything that's
              >> discouraged in this group.[/color]
              >
              > Um, there's lots of menus there.
              > http://www.dynamicdrive.com/dynamicindex1/index.html[/color]

              "That script" was HVMenu. You usually recommend it, so I assumed you did
              here, too. The other comments apply to both the script, and what I've seen
              of the site in general.
              [color=blue]
              > Which one don't you like?[/color]

              All of them[1]. Some seem better than others, but none offer any kind of
              decent scriptless fallback (one even requires frames!). On an intranet,
              some might be OK (though there will be accessibility problems[2]), but not
              on the Web.

              [snip]

              Mike


              [1] I ignored ones that didn't claim to work on "all" browsers.
              [2] Therefore possible legal problems.

              --
              Michael Winter
              Replace ".invalid" with ".uk" to reply by e-mail.

              Comment

              • kaeli

                #22
                Re: OT: CSS

                In article <opsd3975qwx13k vk@atlantis>, M.Winter@blueyo nder.co.invalid
                enlightened us with...[color=blue][color=green]
                > > http://www.dynamicdrive.com/dynamicindex1/index.html[/color]
                >
                > "That script" was HVMenu. You usually recommend it, so I assumed you did
                > here, too. The other comments apply to both the script, and what I've seen
                > of the site in general.
                >[color=green]
                > > Which one don't you like?[/color]
                >
                > All of them[1]. Some seem better than others, but none offer any kind of
                > decent scriptless fallback (one even requires frames!).[/color]

                Requires frames?
                Eww.
                I use frames for my intranet app, but wouldn't for the internet.

                As to fallback, well of course not. How could it? It's script. If script
                isn't enabled, it won't work. That's why a good author always has text links
                somewhere in the page, either at the bottom or where the menu would appear if
                script *were* enabled.
                A general site should always work if it is on the internet, whether a user
                has plugins, CSS, script, or whatever. (general != movie clips sites and so
                on) A site all about javascript scripts, at least IMO, shouldn't be expected
                to work without script enabled. That would be like going to a Quicktime site
                and wanting to not have to use Quicktime.

                What idea did you have for "fallback" in a script for scriptless browsers?
                Note that I look only at the script, not the page that has it as an example.
                I write my own HTML and add things so people can use the page without script
                if it's not for my intranet app.
                [color=blue]
                > On an intranet,
                > some might be OK (though there will be accessibility problems[2]), but not
                > on the Web.[/color]

                Again, text links solve accessibility problems.
                Did you have a better idea?
                I'm always open to new ideas.


                --
                --
                ~kaeli~
                A lot of money is tainted - It taint yours and it taint mine.



                Comment

                • Lasse Reichstein Nielsen

                  #23
                  Re: OT: CSS

                  kaeli <tiny_one@NOSPA M.comcast.net> writes:
                  [color=blue]
                  > As to fallback, well of course not. How could it? It's script. If script
                  > isn't enabled, it won't work.[/color]

                  Ofcourse. That is why making the entire menu using scripts is a bad idea,

                  However, making a sufficient part of the menu using plain HTML, and then
                  enhancing it using Javascript, will both work with scripts enabled and
                  and without (just not with as many features).

                  Any menu solution should be both the enhancing script *and* the basic
                  HTML framework. If the menu in question is all script, that is reason
                  enough to discourage its use on the internet.
                  [color=blue]
                  > That's why a good author always has text links somewhere in the
                  > page, either at the bottom or where the menu would appear if script
                  > *were* enabled.[/color]

                  Exactly. Those links could very well be part of the menu.

                  In fact, if they are added using the <noscript> tag, then they are only
                  available if Javascript is completely disabled. That might not be the
                  reason for the menu failing. Maybe the menu's Javascript is incompatible
                  with the used browser (it happens), but Javascript is enabled. Then
                  neither the menu, nor the <noscript> element, is available.

                  For a gracefull fallback, either the basic navigation should become
                  part of the menu, or it should be remove using Javascript after the
                  menu has been created successfully (and all needed features tested
                  for).
                  [color=blue]
                  > A site all about javascript scripts, at least IMO, shouldn't be expected
                  > to work without script enabled. That would be like going to a Quicktime site
                  > and wanting to not have to use Quicktime.[/color]

                  But a site that supplies Javascripts for *other* pages to use *should* offer
                  scripts (and HTML) that offers gracefull fallback.

                  /L
                  --
                  Lasse Reichstein Nielsen - lrn@hotpop.com
                  DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
                  'Faith without judgement merely degrades the spirit divine.'

                  Comment

                  • kaeli

                    #24
                    Re: OT: CSS

                    In article <isamjcyc.fsf@h otpop.com>, lrn@hotpop.com enlightened us with...[color=blue]
                    > for).
                    >[color=green]
                    > > A site all about javascript scripts, at least IMO, shouldn't be expected
                    > > to work without script enabled. That would be like going to a Quicktime site
                    > > and wanting to not have to use Quicktime.[/color]
                    >
                    > But a site that supplies Javascripts for *other* pages to use *should* offer
                    > scripts (and HTML) that offers gracefull fallback.
                    >[/color]

                    I never thought of it that way.
                    I always just make my own if needed. I rarely need to, since the only thing I
                    need it for is my intranet stuff, which can, and does, require javascript.

                    I still say it's better than trying to make one from scratch by myself. :)

                    If someone comes up with a great alternative, please post it over there so
                    people can see how ya'll think it should be done. And so I can use it.
                    *grins*

                    --
                    --
                    ~kaeli~
                    Who is General Failure and why is he reading my hard disk?



                    Comment

                    • Michael Winter

                      #25
                      Re: OT: CSS

                      On Fri, 10 Sep 2004 13:10:02 -0500, kaeli <tiny_one@NOSPA M.comcast.net>
                      wrote:

                      [snip]
                      [color=blue]
                      > If someone comes up with a great alternative, please post it over there
                      > so people can see how ya'll think it should be done. And so I can use it.
                      > *grins*[/color]

                      I almost did[1]. :)

                      Unfortunately, I'll have to start again from scratch.

                      Mike


                      [1] I don't know if it would have been "great", but it would hopefully
                      have been an improvement, especially once you folks cast your eyes over it.

                      --
                      Michael Winter
                      Replace ".invalid" with ".uk" to reply by e-mail.

                      Comment

                      Working...