Changeset 9065
- Timestamp:
- Feb 2, 2011, 5:39:06 PM (13 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r9007 r9065 234 234 235 235 jQuery(window).unload(function () { 236 if (TheImg) { 237 jQuery.cookie('img', TheImg.src); // créer un cookie avec une valeur 238 jQuery.cookie('img_h', jQuery(TheImg).height()); 239 jQuery.cookie('img_w', jQuery(TheImg).width()); 240 jQuery.cookie('window_height', Window_Affichage.height); 241 jQuery.cookie('window_width', Window_Affichage.width); 236 try { 237 if (TheImg) { 238 jQuery.cookie('img', TheImg.src); // créer un cookie avec une valeur 239 jQuery.cookie('img_h', jQuery(TheImg).height()); 240 jQuery.cookie('img_w', jQuery(TheImg).width()); 241 jQuery.cookie('window_height', Window_Affichage.height); 242 jQuery.cookie('window_width', Window_Affichage.width); 243 } 244 } catch (r) { 245 242 246 } 243 247 -
extensions/Autosize/main.inc.php
r8981 r9065 2 2 /* 3 3 Plugin Name: AutoSize 4 Version: 1.4.4 44 Version: 1.4.45 5 5 Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448 -
extensions/Autosize/template/header_2_2.tpl
r8912 r9065 3 3 {combine_script id="conflit_script" path = $AUTOSIZE_PATH|@cat:"js/conflit.js" require="jquery"} 4 4 {combine_script id="dimensions" path = $AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js" require="jquery"} 5 {combine_script id="cookie" path = $AUTOSIZE_PATH|@cat:"js/jquery.cookie.js" require="jquery"}
Note: See TracChangeset
for help on using the changeset viewer.