source: extensions/floPure/Pure_default/local_head.tpl @ 16090

Last change on this file since 16090 was 16090, checked in by flop25, 12 years ago

test echo deleted

File size: 804 bytes
RevLine 
[16034]1{if isset($PHPWG_VERSION_01) and $PHPWG_VERSION_01!="24"}
[10106]2{footer_script require='jquery'}
3{literal}
4var max_dim_width = 0;
5var max_dim_height = 0;
[12013]6jQuery(window).load(function() {
[10106]7  $(".thumbnails img").each(function () {
8    if (jQuery(this).height() > max_dim_height)
9      max_dim_height = jQuery(this).height() + 10;
10    if (jQuery(this).width() > max_dim_width)
11      max_dim_width = jQuery(this).width() + 10;
12
13    jQuery(".wrap2")
14      .css('width', max_dim_width+'px')
15      .css('height', max_dim_height+'px');
[12007]16    jQuery(".wrap1")
17      .css('width', max_dim_width+'px');
[10106]18  });
19});
20{/literal}
21{/footer_script}
[16034]22{/if}
[11928]23{if isset($MENUBAR) and isset($ELEMENT_CONTENT)}
24{html_head}{literal}
25<style>
26#imageHeaderBar, #imageToolBar {
27        background-image:none;
28}
29</style>
30{/literal}{/html_head}
31{/if}
Note: See TracBrowser for help on using the repository browser.