Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Advanced Rollover - RollBlend

    A very compact rollover only for IE 5+ that allows swapping the images with a transition


    <script type="text/javascript">

    /*
    Rollblend: Rollover + Blending script
    by www.dimaster.com
    Free use of this script is allowed as long as
    this message remains intact.
    */

    if (document.all)
    {document.onmouseover = rlvr;
    document.onmouseout = rlvr;}


    function rlvr()
    {
    e=event.srcElement
    if (e.osrc)
    {tmpsrc=e.src;
    if (e.fx){e.filters[0].apply();e.filters[0].play();
    e.src=e.osrc;e.osrc=tmpsrc;
    }
    }

    }
    </script>

    <img src="Btn.jpg" osrc="Btn_ovr.jpg" fx=true style="filter:blendTrans(duration=1)"><br>
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #2
    New Coder
    Join Date
    Oct 2002
    Location
    Philippines
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the script dude..
    So, you can try to tear me down
    Beat me to the ground
    I will see you screaming


  •  

    Posting Permissions

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