Title: modify .js file
Last modified: August 21, 2016

---

# modify .js file

 *  Resolved [Mrozix](https://wordpress.org/support/users/mrozix/)
 * (@mrozix)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/modify-js-file/)
 * Hi
 * How to cheng this source code:
 *     ```
       jQuery('.lay1 .post .imgwrap').css({'opacity':'0.4'});
       jQuery('.lay1 .post ').hover(function(){
       jQuery(this).find('.imgwrap').stop().animate({'opacity':'1'}, 300);
       }, function(){
       jQuery(this).find('.imgwrap').stop().animate({'opacity':'0.4'}, 300);
       });
       ```
   
 * I starting to modify one of wordpress thems, and this is part of file wich is
   responsible for animation, you can see it at TRITON them by towfiq [http://www.towfiqi.com](http://www.towfiqi.com)(
   js/triton.js)
 * [http://wordpress.org/plugins/grayscale/](http://wordpress.org/plugins/grayscale/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Fabien Quatravaux](https://wordpress.org/support/users/fab1en/)
 * (@fab1en)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/modify-js-file/#post-4214807)
 * I’m sorry, I don’t understand what you mean.
    There is no javascript code in **
   grayscale** plugin.
 *  Plugin Author [Fabien Quatravaux](https://wordpress.org/support/users/fab1en/)
 * (@fab1en)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/modify-js-file/#post-4214887)
 * not relevant

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘modify .js file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/grayscale_fbc8c8.svg)
 * [Grayscale](https://wordpress.org/plugins/grayscale/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/grayscale/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/grayscale/)
 * [Active Topics](https://wordpress.org/support/plugin/grayscale/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/grayscale/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/grayscale/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Fabien Quatravaux](https://wordpress.org/support/users/fab1en/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/modify-js-file/#post-4214887)
 * Status: resolved