Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.


    • CommentAuthorsurfer
    • CommentTimeNov 26th 2006
     
    hello

    i have probs with my simple button... i want my button to change to the following sample:

    onmouseover:<img1>
    onmouseout:<img2>
    onclick:<img1>

    i tried it but it won't work... thanks....
    • CommentAuthorkevin
    • CommentTimeNov 26th 2006
     
    <a href="#" onmouseout="document.life.src = 'pic01.gif;" onmouseover="document.life.src = 'pic02.gif';"><img name="life" src="pic01.gif" alt="Random alt text" border="0"></a>

    onclick is pointless since when you click something you using the mouse which puts it in a state of onmouseover already the above is a simple roll over button.
    • CommentAuthorwebguy
    • CommentTimeNov 26th 2006
     
    even simpler:

    <img src="pic01.gif" onmouseout="this.src='pic01.gif'" onmouseover="this.src='pic02.gif'">
    • CommentAuthorsurfer
    • CommentTimeNov 26th 2006
     
    its like an indicator that i was in a contact page.... sample if i have 4 buttons

    buttons:
    <company>
    <business>

    mouseover:blue
    mouseout:yellow

    <recruit>
    <contact>

    if i am going to click the <business> button this button should change the color to blue, while the other buttons are in yellow color...

    it is same with the CSS of <a>

    a:link
    a:visited
    a:active
    a:hover

    but... i am using images......