cvs: pres2 / getwidth.php keyboard.js.php

From: Date: Sun, 27 Apr 2003 15:58:04 +0000
Subject: cvs: pres2 / getwidth.php keyboard.js.php
Groups: php.pres 
Request: Send a blank email to pres+get-656@lists.php.net to get a copy of this message
wenz Sun Apr 27 11:58:04 2003 EDT Modified files: /pres2 getwidth.php keyboard.js.php Log: + fixed IE JScript error messages that appeared on every slide + fixed two NN4 JS error messages (FWIW) Index: pres2/getwidth.php diff -u pres2/getwidth.php:1.3 pres2/getwidth.php:1.4 --- pres2/getwidth.php:1.3 Thu Apr 24 09:22:08 2003 +++ pres2/getwidth.php Sun Apr 27 11:58:04 2003 @@ -25,5 +25,5 @@ <?if(!isset($_COOKIE['dims'])) {?> get_dims(); <? } ?> ---> +//--> </script> Index: pres2/keyboard.js.php diff -u pres2/keyboard.js.php:1.9 pres2/keyboard.js.php:1.10 --- pres2/keyboard.js.php:1.9 Fri Jul 26 04:13:41 2002 +++ pres2/keyboard.js.php Sun Apr 27 11:58:04 2003 @@ -44,7 +44,7 @@ // find any div objects with an effect attribute var divs = document.getElementsByTagName('div'); for (var i=0; i < divs.length; i++) { - if (divs[i].hasAttribute('effect')) { + if (divs[1].hasAttribute && divs[i].hasAttribute('effect')) { // ok, add this to our slider array //alert("slide "+divs[i].id+" at "+divs[i].offsetLeft+","+divs[i].offsetTop+"\n"); if(divs[i].getAttribute('effect') == 'slide') { @@ -60,5 +60,5 @@ } } } ---> +//--> </script>

« previous php.pres (#656) next »