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 4 of 4
  1. #1
    New Coder
    Join Date
    Nov 2010
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mouse on, mouse off

    hi, when i mouseon an image, how can i make it so, the image i'm mousingon and a second image both fade into alternate images, and then fade back out to the original images when i mouseoff? here is an example- http://www.javascript-fx.com/develop...t/ifctest.html . any help would be most appreciated.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,202
    Thanks
    80
    Thanked 4,564 Times in 4,528 Posts
    So why not use that code?

    It says it's share ware.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    New Coder
    Join Date
    Nov 2010
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i tried, but all i end up with is a plain black page... i don't have all the js listed in the source and don't know where to find them.

  • #4
    Regular Coder
    Join Date
    Jan 2006
    Posts
    568
    Thanks
    6
    Thanked 84 Times in 84 Posts
    The src elements on the SCRIPT tags are relative paths to the javascript files. For example, to get your page to load JSFX_Layer.js you would either point your browser to http://www.javascript-fx.com/develop.../JSFX_Layer.js and download it into a directory called "javascript" in your web folder, or prepend "http://www.javascript-fx.com/development/ifctest/" to the src to make it absolute.


  •  

    LinkBacks (?)


    Posting Permissions

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