Changeset 12363 for extensions
- Timestamp:
- Oct 6, 2011, 5:49:07 PM (12 years ago)
- Location:
- extensions/Back2Front/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Back2Front/template/picture_content.tpl
r12361 r12363 14 14 /* picture switch */ 15 15 {if $b2f_transition == 'fade'} 16 jQuery('img [alt="{$ALT_IMG}"]').animate({ldelim}16 jQuery('img#theMainImage').animate({ldelim} 17 17 opacity:0 18 18 }, 400, function() {ldelim} … … 26 26 }); 27 27 {else} 28 jQuery('img [alt="{$ALT_IMG}"]').attr({ldelim}28 jQuery('img#theMainImage').attr({ldelim} 29 29 src: '{$VERSO_URL}', 30 30 style: 'max-width:{$WIDTH_IMG}px;max-height:{$HEIGHT_IMG}px;', … … 35 35 /* hd link */ 36 36 {if isset($VERSO_HD)} 37 jQuery('img [alt="{$ALT_IMG}"]').parent().attr({ldelim}37 jQuery('img#theMainImage').parent('a').attr({ldelim} 38 38 href: "javascript:phpWGOpenWindow('{$VERSO_HD}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')" 39 39 }); … … 53 53 /* picture switch */ 54 54 {if $b2f_transition == 'fade'} 55 jQuery('img [alt="{$ALT_IMG}"]').animate({ldelim}55 jQuery('img#theMainImage').animate({ldelim} 56 56 opacity:0 57 57 }, 400, function() {ldelim} … … 65 65 }); 66 66 {else} 67 jQuery('img [alt="{$ALT_IMG}"]').attr({ldelim}67 jQuery('img#theMainImage').attr({ldelim} 68 68 src: '{$SRC_IMG}', 69 69 style: 'width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;', … … 74 74 /* hd link */ 75 75 {if isset($high.U_HIGH)} 76 jQuery('img [alt="{$ALT_IMG}"]').parent().attr({ldelim}76 jQuery('img#theMainImage').parent('a').attr({ldelim} 77 77 href: "javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')" 78 78 });
Note: See TracChangeset
for help on using the changeset viewer.