custom confirm messagebox

Discussion in 'JavaScript' started by gigamike, Dec 26, 2006.

  1. #1
    Hi Guys,

    please help me with my custom confirm messagebox

    http://michaelgalon.com/mike_custom_confirm.html

    its pure html tags and javascript with a CSS. I cant set the YES/NO button parallel to each other and onmouseover to YES, the mouse cursor turns into a pointing hands while onmouseover in NO doesnt change.

    Please help me to modify this code.

    Thanks,

    Michael
     
    gigamike, Dec 26, 2006 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Add the following: "cursor: pointer;" to the #closeBtn CSS.
     
    ajsa52, Dec 26, 2006 IP
  3. gigamike

    gigamike Active Member

    Messages:
    165
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    hi ajsa52,

    it works, thanks a lot :).


    Anybody else who can revise my code so the the buttons is align both horizontal like an ordinary confirm messagebox

    Yes No

    coz currently its on vertical

    Yes
    No


    Thanks,

    mike


     
    gigamike, Dec 27, 2006 IP