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
    Nov 2003
    Location
    Seattle
    Posts
    137
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Mouseover graphic with long text

    I have another little issue I would like to solve. I am working on a page where I want to roll over an image and put in text. I've got the roll over complete, but can't seem to figure out how to make it then appear as text, can you assist.

    Below is the JS for the rollover then below that is the text I would like to insert.

    <script type="text/javascript">

    /*
    Rollblend: Rollover + Blending script
    by http://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>

    Energize with morning yoga and sun salutations among the quaking aspens. Breath in the fresh mountain air. As you move your body to start the flow of the day, you celebrate the rising sun and all that awaits you.


    Thanks so much!
    Dreams on the Fly
    http://www.dreamsonthefly.com

  • #2
    atg
    atg is offline
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help you

    go to http://www.dynamicdrive.com/ go to mouse and something then you can see the different ones or compare the scrips good luck


  •  

    Posting Permissions

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