Results 1 to 2 of 2

Thread: fading hover

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    2

    fading hover

    For my new project i'm looking for some good solution to fade images in links on hover from b/w to color. i know this is a quiet often used effect, but i still like it. so, which way should i go?

    1. the css solution is as far as i know not valid and i would like to keep it clean.

    2. flash is one possibility, but not really useful, as i have already 15 link images as this moment and will have more in future...

    3. animated gif takes as much time as flash (or even more)

    4. i was looking for some javascript solutions as the site will be running jquery, but both solutions i have found were not really good and seemed incomplete.

    Do you know some other solution or a working jquery one. I would appreciate your help a lot as this it becoming quiet frustrating.

  2. #2
    Member
    Join Date
    Dec 2010
    Location
    Vancouver, BC, Canada
    Posts
    82
    Code:
    <div class="dvbutton">
             <a href="../samplepage.aspx" class="abutton" target="_blank"></a>
           </div>
    
           .abutton
            {        
             background:url("../images/sample.gif") no-repeat 0px 0px; 
            }
            .dvbutton a:hover
            {        
             background:url("../images/samplehover.gif") no-repeat 0px 0px; 
            }
            .abutton, .dvbutton
            {
             display:block;
             height:69px;
             width:221px;
            }

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.