Page 1 of 4 1234 LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default onMouseover .....

    Ya, Everyone knows the On Mouseover image scripts where theres like a man on a bike you put your cursor over it, And it changes to a woman or something, Like on the habbo buttons

    But its is possible with Divs?

    Like <div id="button_off">Home</div>

    But on MouseOver

    <div id="button_on">Home</div>

    And on MouseOut back to:

    <div id="button_off">Home</div>

    ++++Rep Ty

  2. #2
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default

    Ermmm... could i see a preview of what your trying to do?
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  3. #3
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    yes there is.

    duplicate the div in the CSS and add :hover to one of them and change some stuff

  4. #4
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default

    Hmm

    So like

    #button {
    background-image: url (images/button.png)


    Then what!?, How do i set the background of the div to change when hovered

    Like...

    background-image:hover: (images/button2.png) ?

  5. #5
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    #button:hover {
    background-image: url (images/buttonhover.png);
    }

  6. #6
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default

    Yes But...

    So

    <div id="button">Hi</div>

    thats all i need and #button:hover will also relate to that?

  7. #7
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    yes .
    try it and if it doesnt work, show me a link

    and your sig should be sign, not sing, (unless its meant to be lol)

  8. #8
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default

    Lol i know!

    #button {

    background-color: #EAF7FB;

    width: 20px;

    float: center;

    margin-right: 90px;

    text-align: left;

    margin-top: 0px;

    font-size: 10px;

    font-face: Verdana;

    font-weight: bold;

    font-decoration: None;

    font-color: Black;

    border-style: solid;

    border-color: #000000;

    border-width: 1px;

    }
    #button:hover {

    background-color: #ffffff;

    width: 90px;

    float: center;

    margin-right: 90px;

    text-align: left;

    margin-top: 0px;

    font-size: 10px;

    font-face: Verdana;

    font-weight: bold;

    font-decoration: None;

    font-color: Black;

    border-style: solid;

    border-color: #000000;

    border-width: 1px;

    }



    I tried that, But i hover over and nothing!

  9. #9
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    hmm, do you have a link. it may be playing up because of the widths

  10. #10
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default

    No its currently passworded

    Isn't there a way of like using the image script and then replace the Images with Divs?

Page 1 of 4 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •