Changeset 6533 for extensions/Panoramas/template
- Timestamp:
- Jun 15, 2010, 10:46:56 AM (14 years ago)
- Location:
- extensions/Panoramas/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Panoramas/template/AS_Panorama_admin.tpl
r6527 r6533 3 3 {/html_head} 4 4 <div class="titrePage"> 5 <h2>Panorama [{$ASP.Ver}]</h2>5 <h2>Panoramas [{$ASP.Ver}]</h2> 6 6 </div> 7 7 <p> … … 13 13 <form method="post" action="" class="general"> 14 14 <fieldset id="ASP_Config"> 15 <legend>{'Panorama configuration'|@translate}</legend>15 <legend>{'Panoramas configuration'|@translate}</legend> 16 16 <table id="table"> 17 17 <tr> -
extensions/Panoramas/template/AS_panorama_content.tpl
r6527 r6533 13 13 var s = (100 - {$ASP.speed}) * 2000; 14 14 var p = Math.round(Math.min(Math.max({$ASP.width} * ( {$ASP.start_position} / 100 ), 0), {$ASP.width})); 15 $("#theImage img").eq(0).removeAttr("style").attr({ldelim}width:{$ASP.width},height:{$ASP.height}}).addClass("simple_panorama"); 16 var options = {ldelim} 17 viewport_width: w, 18 speed: s, 19 direction: '{$ASP.direction}', 20 control_display: '{$ASP.control_display}', 21 start_position : p, 22 auto_start : {$ASP.auto_start}, 23 mode_360 : {$ASP.mode_360}, 24 loop_180 : {$ASP.loop_180} 25 }; 26 $("#theImage img.simple_panorama").panorama(options); 15 if ({$ASP.width} > w) {ldelim} 16 $("#theImage img").eq(0).removeAttr("style").attr({ldelim}width:{$ASP.width},height:{$ASP.height}}).addClass("simple_panorama"); 17 var options = {ldelim} 18 viewport_width: w, 19 speed: s, 20 direction: '{$ASP.direction}', 21 control_display: '{$ASP.control_display}', 22 start_position : p, 23 auto_start : {$ASP.auto_start}, 24 mode_360 : {$ASP.mode_360}, 25 loop_180 : {$ASP.loop_180} 26 }; 27 $("#theImage img.simple_panorama").panorama(options); 28 }; 27 29 }); 28 30 </script> 29 31 {/html_head} 30 <!-- Adapted simply by the "Panorama " plugin (version {$ASP.Ver}): {$ASP.Dir}/template/AS_panorama_content.tpl -->32 <!-- Adapted simply by the "Panoramas" plugin (version {$ASP.Ver}): {$ASP.Dir}/template/AS_panorama_content.tpl --> 31 33 <!-- for: {$ASP.image_name} ({$ASP.width}x{$ASP.height}) --> 32 34 <div id="Panorama">
Note: See TracChangeset
for help on using the changeset viewer.