Forum

Questions and discussions

fade duration by image hover? [solved]

Script's setup and configuration

fade duration by image hover? [solved]

Postby stockdiv » Tue Jul 08, 2014 9:45 am

-
Last edited by stockdiv on Wed May 06, 2015 10:32 pm, edited 2 times in total.
stockdiv
 
Posts: 119
Joined: Sat Feb 01, 2014 11:23 am

Re: fade duration by iamge hover?

Postby admin » Wed Jul 09, 2014 10:34 am

You have to edit 2 files:

For the home page:
/templates/template[n]/custom_home.js

Code: Select all
$(this).animate({opacity:'1.0'},1);
            $(this).mouseover(function(){
           $(this).stop().animate({opacity:'0.6'},600);
          });
          $(this).mouseout(function(){
          $(this).stop().animate({opacity:'1.0'},300);
          });



For the catalog listing:
/members/content_list.php

Code: Select all
$(this).animate({opacity:'1.0'},1);
            $(this).mouseover(function(){
           $(this).stop().animate({opacity:'0.6'},600);
          });
          $(this).mouseout(function(){
          $(this).stop().animate({opacity:'1.0'},300);
          });
admin
Site Admin
 
Posts: 1458
Joined: Sun Mar 07, 2010 5:55 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 6 guests

  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.