Ignore:
Timestamp:
Sep 30, 2014, 10:36:35 AM (10 years ago)
Author:
gbo
Message:

Fix some notice (when no title on frame) and compatibilty Back2Front

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/template/llgbo_content.tpl

    r29484 r29841  
    1616{/if}
    1717
     18<!-- LLGBO2  2014-09-29 Verso image must be in block -->
     19{if isset($b2f_switch_mode)}
     20        {if isset($b2f_transition)}
     21                {footer_script require="jquery"}
     22                {if $b2f_switch_mode == "click"}
     23                  jQuery(".reverse").click(function() {ldelim}
     24                {else}
     25                  jQuery(".reverse").hover(function() {ldelim}
     26                {/if}
     27                 var img_verso_block = null;
     28                {if $b2f_transition == "fade"}
     29                        img_verso_block = setTimeout(block_after_delai, 450);
     30                        {else}
     31                         img_verso_block  = setTimeout(block_after_delai, 50);
     32                {/if}
     33                return false;
     34                {rdelim});
     35                function block_after_delai() {ldelim}
     36                        if  (jQuery("img#theMainImage").css("display") == "none")  {ldelim}
     37                                jQuery("img#theVersoImage").css( {ldelim}'display':"block"}); }
     38                                clearTimeout(img_verso_block);
     39                                };
     40         {/footer_script}
     41        {/if}
     42{/if}
    1843
    19 
Note: See TracChangeset for help on using the changeset viewer.