click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r789475 - /incubator/click/trunk/click/examples/webapp/ajax/ajax-live-scroller.js
Date Mon, 29 Jun 2009 22:27:30 GMT
Author: sabob
Date: Mon Jun 29 22:27:30 2009
New Revision: 789475

URL: http://svn.apache.org/viewvc?rev=789475&view=rev
Log:
updated ajax scroller for standards compliance

Modified:
    incubator/click/trunk/click/examples/webapp/ajax/ajax-live-scroller.js

Modified: incubator/click/trunk/click/examples/webapp/ajax/ajax-live-scroller.js
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/ajax/ajax-live-scroller.js?rev=789475&r1=789474&r2=789475&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/ajax/ajax-live-scroller.js (original)
+++ incubator/click/trunk/click/examples/webapp/ajax/ajax-live-scroller.js Mon Jun 29 22:27:30
2009
@@ -19,15 +19,11 @@
 
 $(document).ready(function(){
     // Dynamically create a fixed scroll indicator at the bottom right corner of the screen
-    jQuery("<div id='scroll-indicator' style='border: 1px solid white;"
-        + "background: #EEEEEE; padding: 10px; position: fixed; display: none;"
-        + "right: 25; bottom: 25; width: 100px;"
-
-        // IE6 doesn't support fixed positioning. Workaround below
-        + "_position:absolute;_top:expression(-25 + document.body.scrollTop+document.body.clientHeight-this.clientHeight);"
-
+    jQuery("<div id='scroll-indicator' style='border: 1px solid navy;"
+        + "background: #334ECF; color: #FFFFFF; padding: 10px; position: fixed; display:
none;"
+        + "right: 25px; bottom: 25px; width: 75px;"
         + "'>Loading...</div>")
-        .insertAfter(jQuery('table.page')); // Insert the indicator after the table defined
in border-template.htm
+        .insertAfter(jQuery('div.page')); // Insert the indicator after the main div defined
in border-template.htm
 
     // Current number of records loaded from server
     var offset = 0;



Mime
View raw message