From f072ca785ae706831570d97c1eede3f9d4cd3bc7 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Fri, 19 Jan 2007 21:13:01 +0000 Subject: [PATCH] fix pour la hauteur de la fenetre sur MSIE7 (paolo, code pris dans dimensions.js//jQuery) --- dist/jquery.js.html | 2 +- ecrire/exec/brouteur.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/jquery.js.html b/dist/jquery.js.html index 3ffc0c1c28..eb8f895b7f 100644 --- a/dist/jquery.js.html +++ b/dist/jquery.js.html @@ -11,7 +11,7 @@ * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * - * + form.js (jquery.com) + * + form.js (plugins @ jQuery.com) * + ajaxCallback.js (www.spip.net) */ [(#CHEMIN{javascript/jquery-1.1.js}|compacte|spip_file_get_contents)] diff --git a/ecrire/exec/brouteur.php b/ecrire/exec/brouteur.php index cb75a3852a..e10b64084b 100644 --- a/ecrire/exec/brouteur.php +++ b/ecrire/exec/brouteur.php @@ -120,9 +120,10 @@ function exec_brouteur_dist() echo "\n</tr></table>"; // fixer la hauteur du brouteur de maniere a remplir l'ecran + // nota: code tire du plugin dimensions.js echo "<script type='text/javascript'><!-- jQuery('iframe.iframe-brouteur').height( - Math.max((window.innerHeight||0)-190,300) + Math.max(jQuery(window.innerHeight || jQuery.boxModel && document.documentElement.clientHeight || document.body.clientHeight || 0)-190,300) ); //--></script>\n"; echo fin_page(); -- GitLab