Ajax Bestiary: A Javascript Field Guide
 
Ajax Bestiary: A Javascript Field Guide
 
 

Attach Elements To The Viewport With Clientside’s Element.Pin Mootools Plugin

Posted by Don Albrecht

mootools pin Here’s a handy plugin to attach elements to view port so they don’t scroll with the page.  Scripts for both pinning and unpinning are available. 

To pin:

$(’fxtarget’).pin();

To unpin:

$(’fxtarget).unpin();

You can get it online from clientside here:

http://clientside.cnet.com/code-snippets/visual-effects/new-elementpin/

Related Posts


Leave a Reply