Archive for the 'javascript' Category


sLquantity v.1

So the idea was that we needed a form input that could be duplicated multiple times within the shopping cart. This allows the customer to add multiple items with different variations (ie: color / size) to the cart and then post it to the payment gateway. First of all, here is a visual example of [...]

First Post

Well for the first post, it’s probably fitting that I post the code that does the neat little header effect. Here ya go: javascripthover edges to scroll  window.onload = function(){ var intro = new Fx.Styles(’headerImg’, { duration: 450, transition: Fx.Transitions.linear, onStart: function(){ $(’headerImg’).setOpacity(0); $(’headerImg’).setStyle(’display’,'inline’); }, onComplete: function(){ secondIntro = new Fx.Styles(’headerImg’, { duration: 950, wait: 200, transition: Fx.Transitions.linear }); secondIntro.start({ ‘margin-left’: [0, 550] }); } }); intro.start({ ‘opacity’: [0, 1], ‘width’: [...]
17 queries in 0.263 seconds | Code is Poetry | sLajax.com