[bknr-cvs] hans changed trunk/projects/quickhoney/

BKNR Commits bknr at bknr.net
Tue Sep 9 06:20:55 UTC 2008


Revision: 3853
Author: hans
URL: http://bknr.net/trac/changeset/3853

Add dummy button for home page.

U   trunk/projects/quickhoney/src/handlers.lisp
A   trunk/projects/quickhoney/upgrade-stuff/button-dummy.png
U   trunk/projects/quickhoney/upgrade-stuff/import.lisp
U   trunk/projects/quickhoney/website/static/javascript.js

Modified: trunk/projects/quickhoney/src/handlers.lisp
===================================================================
--- trunk/projects/quickhoney/src/handlers.lisp	2008-09-09 05:58:22 UTC (rev 3852)
+++ trunk/projects/quickhoney/src/handlers.lisp	2008-09-09 06:20:55 UTC (rev 3853)
@@ -258,7 +258,7 @@
                               (warn "No images for ~A ~A found" category subcategory))
                         (encode-array-element type)
                         (dolist (image (or images
-                                           (list (store-image-with-name "trans"))))
+                                           (list (store-image-with-name "button-dummy"))))
                           (encode-array-element (store-object-id image))
                           (when (zerop (decf count))
                             (return)))))))))))))

Added: trunk/projects/quickhoney/upgrade-stuff/button-dummy.png
===================================================================
(Binary files differ)


Property changes on: trunk/projects/quickhoney/upgrade-stuff/button-dummy.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/projects/quickhoney/upgrade-stuff/import.lisp
===================================================================
--- trunk/projects/quickhoney/upgrade-stuff/import.lisp	2008-09-09 05:58:22 UTC (rev 3852)
+++ trunk/projects/quickhoney/upgrade-stuff/import.lisp	2008-09-09 06:20:55 UTC (rev 3853)
@@ -32,7 +32,7 @@
                     #P"contact-selected.png" #P"contact-unselected.png"
                     #P"quickhoney.png" #P"quickhoney-black.png"
                     #P"pixelcontact.gif"
-                    #P"startscreen.png"))
+                    #P"startscreen.png" #P"button-dummy.png"))
   (replace-image pathname))
 
 (replace-image #p"news-sep.gif")

Modified: trunk/projects/quickhoney/website/static/javascript.js
===================================================================
--- trunk/projects/quickhoney/website/static/javascript.js	2008-09-09 05:58:22 UTC (rev 3852)
+++ trunk/projects/quickhoney/website/static/javascript.js	2008-09-09 06:20:55 UTC (rev 3853)
@@ -524,6 +524,8 @@
 
     debug('show_page ' + pagename + ' subpath ' + subpath + ' current_directory ' + current_directory);
 
+    $('loading').style.display = 'none';
+
     /* workaround for IE, which does not display the overlapping menu items expectedly */
     map(function (keyword) {
             $('m_' + keyword).style.zIndex = (keyword == pagename) ? 101 : 100;
@@ -1156,8 +1158,6 @@
 }
 
 function init() {
-    $('loading').style.display = 'none';
-
     if (navigator.userAgent.indexOf("Safari") != -1) {
 	safari = true;
 	safari_compatibility_hack();




More information about the Bknr-cvs mailing list