Created
November 27, 2009 15:43
-
-
Save envex/244075 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="inc/js/frameworks/mootools-1.2.4-core-nc.js"></script> | |
<script type="text/javascript" src="inc/js/frameworks/mootools-1.2.4.2-more.js"></script> | |
<script type="text/javascript" src="inc/js/squeezebox/assets/SqueezeBox.css"></script> | |
<script type="text/javascript" src="inc/js/squeezebox/SqueezeBox.js"></script> | |
<script type="text/javascript"> | |
window.addEvent('domready', function() { | |
/** | |
* That CSS selector will find all <a> elements with the | |
* class boxed | |
* | |
* The example loads the options from the rel attribute | |
*/ | |
SqueezeBox.assign($$('a.boxed'), { | |
parse: 'rel' | |
}); | |
}); | |
</script> | |
<a href="http://mootools.net" class="boxed" rel="{handler:'iframe',size:{x:840,y:550}}"> | |
MooTools.net in a box! | |
</a> | | |
<a href="http://groups.google.com/group/mootools-users" class="boxed" rel="{handler:'iframe',size:{x:500,y:500},iframePreload:true}" title="IFrame is preloaded"> | |
MooTools Users Group | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment