ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

scripts.js (1195B)


      1 (function ($) {
      2     var contentSwap = {
      3         "contentswap-effect": {
      4             "effectType": "",
      5             "contentType": "overlay",
      6             "overflowEnabled": "false",
      7             "effectDelay": "800",
      8             "effectEasing": "Ease",
      9             "overlayColor": "490A3D",
     10             "innerColor": "ffffff",
     11             "openPage": "same",
     12             "name": "",
     13             "captionType": "490A3D",
     14             "operationType": "edit",
     15             "hasls": "true",
     16             "additionalWrapperClasses": "",
     17             "direction": "bottom",
     18             "useSameTemplate": "true"
     19         }
     20     };
     21 
     22 
     23     jQuery(document).ready(function () {
     24 
     25         var contentSwapTimeout = setTimeout(function () {
     26             if (window.initHoverFX) {
     27                 initHoverFX(contentSwap);
     28             }
     29         }, 10);
     30 
     31         jQuery(window).resize(function (e) {
     32             clearTimeout(contentSwapTimeout);
     33             contentSwapTimeout = setTimeout(function () {
     34                 if (window.initHoverFX) {
     35                     initHoverFX(contentSwap, null, e);
     36                 }
     37             }, 150);
     38 
     39         });
     40 
     41     });
     42 
     43 
     44 })(jQuery);