|
Revision 16034, 0.8 KB
(checked in by flop25, 11 months ago)
|
|
multiple changes for 2.4
adding the pattern system
border radius css3 added
|
| Line | |
|---|
| 1 | {if isset($PHPWG_VERSION_01) and $PHPWG_VERSION_01!="24"} |
|---|
| 2 | {footer_script require='jquery'} |
|---|
| 3 | {literal} |
|---|
| 4 | var max_dim_width = 0; |
|---|
| 5 | var max_dim_height = 0; |
|---|
| 6 | jQuery(window).load(function() { |
|---|
| 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'); |
|---|
| 16 | jQuery(".wrap1") |
|---|
| 17 | .css('width', max_dim_width+'px'); |
|---|
| 18 | }); |
|---|
| 19 | }); |
|---|
| 20 | {/literal} |
|---|
| 21 | {/footer_script} |
|---|
| 22 | {/if} |
|---|
| 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} |
|---|