W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/markup/js jump-indexes.js,1.16,1.17

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 May 2011 06:27:38 +0000
To: public-html-commits@w3.org
Message-Id: <E1QJJwQ-0006aE-KK@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/js
In directory hutz:/tmp/cvs-serv24407/js

Modified Files:
	jump-indexes.js 
Log Message:
fixed formatting of popup


Index: jump-indexes.js
===================================================================
RCS file: /sources/public/html5/markup/js/jump-indexes.js,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- jump-indexes.js	9 May 2011 06:07:44 -0000	1.16
+++ jump-indexes.js	9 May 2011 06:27:36 -0000	1.17
@@ -114,11 +114,6 @@
       }
       indexDiv.appendChild(p);
     }
-    //var posY = event.pageY - 371;
-    var posY = document.body.scrollTop + 100;
-    //var posX = event.pageX - 449;
-    var posX = document.body.scrollLeft + 100;
-    indexDiv.setAttribute("style","position: relative; top: " + 500 + "px; left: " + 500 + "px;");
     document.getElementById('jumpIndexA-button').firstChild.textContent = "(ESC to close)";
     document.getElementById('jumpIndexA-button').appendChild(indexDiv);
     jumpIndexA = indexDiv;
Received on Monday, 9 May 2011 06:27:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 May 2011 06:27:57 GMT