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

Last change on this file since 11928 was 11928, checked in by flop25, 13 years ago

correction for 2.3 and the menu on picture page : adding the table layout on the picture page in order to harmonize the style

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