Last change
on this file was
29841,
checked in by gbo, 10 years ago
|
Fix some notice (when no title on frame) and compatibilty Back2Front
|
File size:
1.3 KB
|
Line | |
---|
1 | <!-- LLGBO2 picture_content --> |
---|
2 | {if isset($llgbo.TOOLTIPCSS)} |
---|
3 | {$llgbo.TOOLTIPCSS} |
---|
4 | {/if} |
---|
5 | {if isset($llgbo.GBOCSS)} |
---|
6 | {combine_css path=$llgbo.GBOCSS order=+10} |
---|
7 | {/if} |
---|
8 | |
---|
9 | {if !isset($llgbo.NOJS)} |
---|
10 | {if isset($llgbo.TOOLTIP)} |
---|
11 | {combine_script id='llgbojqtooltip' load='footer' require='jquery' path=$LLGBO_PATH|@cat:"js/jquery_llgbotip.js"} |
---|
12 | {/if} |
---|
13 | {if isset($llgbo.FRAME_BEGIN)} |
---|
14 | {combine_script id='llgbojqframe' load='footer' require='jquery' path=$LLGBO_PATH|@cat:"js/jquery_llgboframeresize.js" } |
---|
15 | {/if} |
---|
16 | {/if} |
---|
17 | |
---|
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} |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.