ok experts.....explain how this works

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

    #1

    ok experts.....explain how this works



    Referring to the images at the top of the page, how does he achieve a mouse
    over with no onmouseover command?

    The only way I can see it being done is through the CSS.
    But I'm not clear on how it works exactly.



  • Mick White

    #2
    Re: ok experts.....exp lain how this works

    Richard wrote:
    [color=blue]
    > http://www.phoenity.com/newtedge/image_gallery/
    >
    > Referring to the images at the top of the page, how does he achieve a mouse
    > over with no onmouseover command?
    >
    > The only way I can see it being done is through the CSS.
    > But I'm not clear on how it works exactly.
    >
    >
    >[/color]

    CSS, hover.
    Mick

    Comment

    • mbstevens

      #3
      Re: ok experts.....exp lain how this works

      Richard wrote:
      [color=blue]
      > http://www.phoenity.com/newtedge/image_gallery/
      >
      > Referring to the images at the top of the page, how does he achieve a
      > mouse over with no onmouseover command?
      >
      > The only way I can see it being done is through the CSS.
      > But I'm not clear on how it works exactly.[/color]

      Yes, it's CSS.
      Some things that are set to display:none become display:block when hovered.
      For a more complete tutorial, try:



      Comment

      • Grant Wagner

        #4
        Re: ok experts.....exp lain how this works

        "Richard" <Anonymous@127. 001> wrote in message
        news:csjo5q01b1 k@news2.newsguy .com...[color=blue]
        > http://www.phoenity.com/newtedge/image_gallery/
        >
        > Referring to the images at the top of the page, how does he achieve a
        > mouse
        > over with no onmouseover command?
        >
        > The only way I can see it being done is through the CSS.
        > But I'm not clear on how it works exactly.[/color]

        It isn't JavaScript (so it's off-topic for this newsgroup), but it isn't
        rocket science to figure out how it works either:

        1) View the source on the page, note that style is in style.css. Type
        <url: http://www.phoenity.com/newtedge/ima...lery/style.css /> into
        your address bar, hit enter
        2) Note that style.css does two @imports. Figure image_gallery.c ss is
        the one you want.
        3) Type <url:
        http://www.phoenity.com/newtedge/ima...ge_gallery.css /> into
        your address bar, hit enter.
        4) Read.

        ul#gallery>li ul ...
        ul#gallery>li:h over ...
        ul#gallery>li:h over ul ...

        Those take care of the "popup".

        ul#gallery ul:before ...
        ul#gallery ul:after ...

        Those take care of the stuff above and below the horizontal rules in the
        "popups".

        --
        Grant Wagner <gwagner@agrico reunited.com>
        comp.lang.javas cript FAQ - http://jibbering.com/faq


        Comment

        • Fat Sam

          #5
          Re: ok experts.....exp lain how this works

          Richard wrote:[color=blue]
          > http://www.phoenity.com/newtedge/image_gallery/
          >
          > Referring to the images at the top of the page, how does he achieve a
          > mouse over with no onmouseover command?
          >
          > The only way I can see it being done is through the CSS.
          > But I'm not clear on how it works exactly.[/color]

          Okay, obviously I'm missing something here.....What exactly is it that the
          linked page is supposed to be doing?.....I get a page with a load of
          identical icons of Newts down the left, and text beside them to the
          right.....There are no mouse-over effects, and no action takes place when I
          hover over them.....


          Comment

          • Fat Sam

            #6
            Re: ok experts.....exp lain how this works

            Fat Sam wrote:[color=blue]
            > Richard wrote:[color=green]
            >> http://www.phoenity.com/newtedge/image_gallery/
            >>
            >> Referring to the images at the top of the page, how does he achieve a
            >> mouse over with no onmouseover command?
            >>
            >> The only way I can see it being done is through the CSS.
            >> But I'm not clear on how it works exactly.[/color]
            >
            > Okay, obviously I'm missing something here.....What exactly is it
            > that the linked page is supposed to be doing?.....I get a page with a
            > load of identical icons of Newts down the left, and text beside them
            > to the right.....There are no mouse-over effects, and no action takes
            > place when I hover over them.....[/color]

            I've just opened it in Firefox, and I now see what it's supposed to do.....

            Apparently it doesn't work in IE6......

            That's clever......Des ign an application that doesn't work properly in the
            most commonly used browser.....


            Comment

            • Michael Wilcox

              #7
              Re: ok experts.....exp lain how this works

              Fat Sam wrote:[color=blue]
              > Apparently it doesn't work in IE6......
              >
              > That's clever......Des ign an application that doesn't work properly in the
              > most commonly used browser.....[/color]

              Many authors like to explore the possibilities of CSS, even if it won't
              work in IE. It's geek fun.

              Experiences like yours might motivate some people to show public support
              for Firefox and try to lessen IE's stranglehold.
              --
              Michael Wilcox

              Comment

              • Travis Newbury

                #8
                Re: ok experts.....exp lain how this works

                Michael Wilcox wrote:[color=blue]
                > Fat Sam wrote:
                >[color=green]
                >> Apparently it doesn't work in IE6......
                >>
                >> That's clever......Des ign an application that doesn't work properly in
                >> the
                >> most commonly used browser.....[/color]
                >
                >
                > Many authors like to explore the possibilities of CSS, even if it won't
                > work in IE. It's geek fun.
                >
                > Experiences like yours might motivate some people to show public support
                > for Firefox and try to lessen IE's stranglehold.[/color]

                And pigs could fly out brucie's butt....

                --
                -=tn=-

                Comment

                • Leif K-Brooks

                  #9
                  Re: ok experts.....exp lain how this works

                  Travis Newbury wrote:[color=blue]
                  > And pigs could fly out brucie's butt....[/color]

                  Are you sure that cops' pants have flies?

                  Comment

                  • Richard

                    #10
                    Re: ok experts.....exp lain how this works

                    On Tue, 18 Jan 2005 20:47:28 -0000 Fat Sam wrote:
                    [color=blue]
                    > Richard wrote:[color=green]
                    >> http://www.phoenity.com/newtedge/image_gallery/[/color][/color]
                    [color=blue][color=green]
                    >> Referring to the images at the top of the page, how does he achieve a
                    >> mouse over with no onmouseover command?[/color][/color]
                    [color=blue][color=green]
                    >> The only way I can see it being done is through the CSS.
                    >> But I'm not clear on how it works exactly.[/color][/color]
                    [color=blue]
                    > Okay, obviously I'm missing something here.....What exactly is it that
                    > the
                    > linked page is supposed to be doing?.....I get a page with a load of
                    > identical icons of Newts down the left, and text beside them to the
                    > right.....There are no mouse-over effects, and no action takes place
                    > when I
                    > hover over them.....[/color]

                    That's one of the reasons why I dumped IE in favor of firefox.



                    Comment

                    • Richard

                      #11
                      Re: ok experts.....exp lain how this works

                      On Tue, 18 Jan 2005 20:38:29 GMT Grant Wagner wrote:
                      [color=blue]
                      > "Richard" <Anonymous@127. 001> wrote in message
                      > news:csjo5q01b1 k@news2.newsguy .com...[color=green]
                      >> http://www.phoenity.com/newtedge/image_gallery/[/color][/color]
                      [color=blue][color=green]
                      >> Referring to the images at the top of the page, how does he achieve a
                      >> mouse
                      >> over with no onmouseover command?[/color][/color]
                      [color=blue][color=green]
                      >> The only way I can see it being done is through the CSS.
                      >> But I'm not clear on how it works exactly.[/color][/color]
                      [color=blue]
                      > It isn't JavaScript (so it's off-topic for this newsgroup), but it
                      > isn't
                      > rocket science to figure out how it works either:[/color]
                      [color=blue]
                      > 1) View the source on the page, note that style is in style.css. Type[/color]
                      <url:: http://www.phoenity.com/newtedge/ima...lery/style.css /> into[color=blue]
                      > your address bar, hit enter
                      > 2) Note that style.css does two @imports. Figure image_gallery.c ss is
                      > the one you want.
                      > 3) Type <url:
                      > http://www.phoenity.com/newtedge/ima...ge_gallery.css />
                      > into
                      > your address bar, hit enter.
                      > 4) Read.[/color]
                      [color=blue]
                      > ul#gallery>li ul ...
                      > ul#gallery>li:h over ...
                      > ul#gallery>li:h over ul ...[/color]
                      [color=blue]
                      > Those take care of the "popup".[/color]
                      [color=blue]
                      > ul#gallery ul:before ...
                      > ul#gallery ul:after ...[/color]
                      [color=blue]
                      > Those take care of the stuff above and below the horizontal rules in
                      > the
                      > "popups".[/color]

                      Thanks grant.
                      Whilst searching about, I came across another menu which has some of the
                      same stuff built into it but not the "popups", and more closely to my needs.
                      I figured it had to with the hover action since I saw no mouse routines.
                      I just couldn't see how he manipulated the <li> stuff into the hover
                      section.


                      Comment

                      • Duende

                        #12
                        Re: ok experts.....exp lain how this works

                        While sitting in a puddle Travis Newbury scribbled in the mud:
                        [color=blue]
                        >
                        > And pigs could fly out brucie's butt....[/color]

                        With brucie that just might be a possibility

                        --
                        D?
                        http://wipkip.biz just to raise my PR

                        Comment

                        • mbstevens

                          #13
                          Re: ok experts.....exp lain how this works

                          Duende wrote:
                          [color=blue]
                          > While sitting in a puddle Travis Newbury scribbled in the mud:
                          >[color=green]
                          >>
                          >> And pigs could fly out brucie's butt....[/color]
                          >
                          > With brucie that just might be a possibility[/color]

                          Where is that Brucie? I could use a little high minded entertainment.


                          Comment

                          • Kevin Scholl

                            #14
                            Re: ok experts.....exp lain how this works

                            Travis Newbury wrote:[color=blue]
                            > Michael Wilcox wrote:
                            >[color=green]
                            >> Fat Sam wrote:
                            >>[color=darkred]
                            >>> Apparently it doesn't work in IE6......
                            >>>
                            >>> That's clever......Des ign an application that doesn't work properly
                            >>> in the
                            >>> most commonly used browser.....[/color]
                            >>
                            >>
                            >>
                            >> Many authors like to explore the possibilities of CSS, even if it
                            >> won't work in IE. It's geek fun.
                            >>
                            >> Experiences like yours might motivate some people to show public
                            >> support for Firefox and try to lessen IE's stranglehold.[/color]
                            >
                            >
                            > And pigs could fly out brucie's butt....[/color]

                            Rather unsettling visual notwithstanding , we can always hope. It WOULD
                            be a beautiful day... :)

                            --

                            *** Remove the DELETE from my address to reply ***

                            =============== =============== =============== =========
                            Kevin Scholl http://www.ksscholl.com/
                            kscholl@comcast .DELETE.net
                            ------------------------------------------------------
                            Information Architecture, Web Design and Development
                            ------------------------------------------------------
                            We are the music makers, and we are the dreamers of
                            the dreams...
                            =============== =============== =============== =========

                            Comment

                            • Fat Sam

                              #15
                              Re: ok experts.....exp lain how this works

                              Travis Newbury wrote:[color=blue]
                              > Michael Wilcox wrote:[color=green]
                              >> Fat Sam wrote:
                              >>[color=darkred]
                              >>> Apparently it doesn't work in IE6......
                              >>>
                              >>> That's clever......Des ign an application that doesn't work properly
                              >>> in the
                              >>> most commonly used browser.....[/color]
                              >>
                              >>
                              >> Many authors like to explore the possibilities of CSS, even if it
                              >> won't work in IE. It's geek fun.
                              >>
                              >> Experiences like yours might motivate some people to show public
                              >> support for Firefox and try to lessen IE's stranglehold.[/color]
                              >
                              > And pigs could fly out brucie's butt....[/color]

                              I'm sure that's already happened.....


                              Comment

                              Working...