Archive for March, 2007


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’: [...]
16 queries in 0.202 seconds | Code is Poetry | sLajax.com