Tobias Ebnöther![]()
The idea is that you just create the box with a container or url, bind a link and you're good!
Patches are welcome :)
YUI().use('gallery-overlay-box', function(Y) {
var box = new Y.OverlayBox( {url: 'somethingfancy.html'} ); //Creates the box that will load the given URL
box.bindClick(Y.one('#someLink')); //Binds a trigger to open it
});No forum posts for this module.
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info