Javascript MouseOver button

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

    Javascript MouseOver button

    I'm very frusterated..Be en trying to make mouseover buttons and cant
    get it to work...can someone but up some sample code to show how to do
    it, with a one button sameple and how to add additional please. or
    point me in the direction of a tutorial..I want to be able to make
    them for my site
  • kaeli

    #2
    Re: Javascript MouseOver button

    In article <e247a670.04052 51832.168388dd@ posting.google. com>,
    richrkjr@yahoo. com enlightened us with...[color=blue]
    > I'm very frusterated..Be en trying to make mouseover buttons and cant
    > get it to work...can someone but up some sample code to show how to do
    > it, with a one button sameple and how to add additional please. or
    > point me in the direction of a tutorial..I want to be able to make
    > them for my site
    >[/color]

    That depends on what you mean by a mouseover *button*.

    Taken literally...
    <input type="button" onMouseOver="wi ndow.status='mo used!';"
    onMouseOut="win dow.status='';" value="hover me">

    If that's not what you meant, please clarify.

    --
    --
    ~kaeli~
    What if the Hokey Pokey IS what's it's all about?



    Comment

    • richk

      #3
      Re: Javascript MouseOver button

      kaeli <tiny_one@NOSPA M.comcast.net> wrote in message news:<MPG.1b1e4 cd89c1a687989e9 1@nntp.lucent.c om>...[color=blue]
      > In article <e247a670.04052 51832.168388dd@ posting.google. com>,
      > richrkjr@yahoo. com enlightened us with...[color=green]
      > > I'm very frusterated..Be en trying to make mouseover buttons and cant
      > > get it to work...can someone but up some sample code to show how to do
      > > it, with a one button sameple and how to add additional please. or
      > > point me in the direction of a tutorial..I want to be able to make
      > > them for my site
      > >[/color]
      >
      > That depends on what you mean by a mouseover *button*.
      >
      > Taken literally...
      > <input type="button" onMouseOver="wi ndow.status='mo used!';"
      > onMouseOut="win dow.status='';" value="hover me">
      >
      > If that's not what you meant, please clarify.[/color]

      No not put of a form button.

      I'm constructing a set of buttons to go on the main page of my
      website....Thes e buttons when clicked by the mouse go to the various
      pages that they are linked to within my site.. Also When the mouse
      cursor is on the button the text on the botton appears to be turned on
      like a lightbulb in the button...the set of buttons are going to be
      used for navigation to other areas (pages) on my site..Does this
      clarify it better for you..i hope

      Comment

      • kaeli

        #4
        Re: Javascript MouseOver button

        In article <e247a670.04052 60934.6716e38a@ posting.google. com>,
        richrkjr@yahoo. com enlightened us with...[color=blue]
        >
        > I'm constructing a set of buttons to go on the main page of my
        > website....Thes e buttons when clicked by the mouse go to the various
        > pages that they are linked to within my site.. Also When the mouse
        > cursor is on the button the text on the botton appears to be turned on
        > like a lightbulb in the button...the set of buttons are going to be
        > used for navigation to other areas (pages) on my site..Does this
        > clarify it better for you..i hope
        >[/color]

        Oh, yeah, sure.
        Those are rollover images. No one uses real buttons for that. I know a
        lot of people call them buttons, but they're not. ;)
        You need two images. One has the "on" text and one has the "off" text.
        Many image programs, like Photoshop, or development IDEs, like
        Dreamweaver, can create the code for you.
        If you want to do it yourself, see the link below.



        --
        --
        ~kaeli~
        The definition of a will?... (It's a dead giveaway.)



        Comment

        Working...