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

BKNR Commits bknr at bknr.net
Sun Jul 20 12:06:10 UTC 2008


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

checkpoint once more
A   trunk/projects/quickhoney/upgrade-stuff/buy-right-line.gif
U   trunk/projects/quickhoney/upgrade-stuff/import.lisp
U   trunk/projects/quickhoney/website/static/javascript.js
U   trunk/projects/quickhoney/website/static/styles.css

Added: trunk/projects/quickhoney/upgrade-stuff/buy-right-line.gif
===================================================================
(Binary files differ)


Property changes on: trunk/projects/quickhoney/upgrade-stuff/buy-right-line.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/projects/quickhoney/upgrade-stuff/import.lisp
===================================================================
--- trunk/projects/quickhoney/upgrade-stuff/import.lisp	2008-07-20 07:35:09 UTC (rev 3527)
+++ trunk/projects/quickhoney/upgrade-stuff/import.lisp	2008-07-20 12:06:10 UTC (rev 3528)
@@ -6,6 +6,7 @@
 (dolist (name '(#P"overlay-close.gif"
                 #P"hey.gif"
                 #P"buy.gif" #P"buy_print.gif" #P"buy_file.gif" #P"buy_t_shirt.gif"
+                #P"buy-right-line.gif"
                 #P"button-bottom.gif" #P"add-to-cart.gif" #P"checkout.gif"))
   (handler-case
       (import-image name)

Modified: trunk/projects/quickhoney/website/static/javascript.js
===================================================================
--- trunk/projects/quickhoney/website/static/javascript.js	2008-07-20 07:35:09 UTC (rev 3527)
+++ trunk/projects/quickhoney/website/static/javascript.js	2008-07-20 12:06:10 UTC (rev 3528)
@@ -1231,9 +1231,11 @@
 {
     var buttons = [];
     var buyable = false;
+    var height = 23;
     map(function (keyword) {
             if (current_image.keywords[keyword]) {
                 buyable = true;
+                height += 22;
                 buttons.push(make_image_action_button(keyword, make_buy_form, 22));
             }
         }, ['buy_file', 'buy_print', 'buy_t_shirt']);
@@ -1242,6 +1244,7 @@
     if (buyable) {
         appendChildNodes('image_action_buttons', IMG({ id: 'buy', src: recolored_image_path('buy'), width: 127, height: 22}));
     }
+    appendChildNodes('image_action_buttons', IMG({ id: 'buy-right-line', src: recolored_image_path('buy-right-line'), width: 1, height: height}));
     $('image_action_buttons').onmouseover = function () {
         (new YAHOO.util.Anim('image_action_buttons', { left: { to: 518 }, width: { to: 127 } }, .3,
                              YAHOO.util.Easing.easeBoth))

Modified: trunk/projects/quickhoney/website/static/styles.css
===================================================================
--- trunk/projects/quickhoney/website/static/styles.css	2008-07-20 07:35:09 UTC (rev 3527)
+++ trunk/projects/quickhoney/website/static/styles.css	2008-07-20 12:06:10 UTC (rev 3528)
@@ -527,6 +527,14 @@
         top: 0px;
 }
 
+#image_action_buttons #buy-right-line {
+        z-index: 200;
+        position: absolute;
+        left: 60px;
+        top: 0px;
+}
+
+
 #overlay #hey {
          padding: 10px 15px 10px 10px;
 }




More information about the Bknr-cvs mailing list