Link: http://nickdraws.com
A portfolio website for best-friend and illustrator Nick Iluzada. Inspired by http://weareadorn.com and animated using Ariel Flesler’s ScrollTo and LocalScroll jQuery plugins.
Because the total width of the site is dependent on the size of the screen on which it’s displayed, I had to write a little original javascript in order to modify the final element in the container onLoad. The code is below.
function changewidth(){ var last=document.getElementById("container").lastElementChild; var lastWidth=last.offsetWidth; var widthAdjusted=screen.width - lastWidth; last.style.paddingRight=widthAdjusted + "px"; }
-
mitchellgoodrich posted this


