search for: navlink

Displaying 1 result from an estimated 1 matches for "navlink".

Did you mean: nvlink
2006 Apr 20
0
Sanity check of my Draggable code
...Draggable(''colspacer'', { revert:false, constraint:''horizontal'', change: function (d) { dragColTo(d.currentDelta()) } }); } function dragColTo(delta) { var x = delta[0]; if(x < 10) { return; } document.getElementById(''navlinks'').style.width = (x - 8) + ''px''; document.getElementById(''content'').style.marginLeft = (x + 2) + ''px''; } I have three divs across the page: ''navlinks'' is absolutely positioned on the left ''colspac...