- Code: Select all
<script type="text/javascript">
var box = {};
window.addEvent('domready', function(){
box = new MultiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: true});
box.open($('mb10'));
});
</script>
Where is this code supposed to go?? I've tried putting it in a couple different places in the page's code, but it won't seem to work. The multibox itself is working fine when I manually click on the link, though I haven't figured out where in the CSS code I can change formatting yet (fonts, etc.), I can't seem to figure out how to get this "onload" code to work! Note that I'm using the mootools/multibox package downloaded from here: http://www.liamsmart.co.uk/Downloads/