mootools changing an elements inline css

Posted by sea_1987 on Stack Overflow See other posts from Stack Overflow or by sea_1987
Published on 2010-06-07T08:22:24Z Indexed on 2010/06/07 8:32 UTC
Read the original article Hit count: 111

Filed under:
|
|
|

I have some HTML that looks like this,

<div id="mb_contents" style="visibility: visible; opacity: 1; width: 600px; height: 450px;">

I am trying to turn the visibilty to hidden using this js/mootools,

$('mb_overlay').set('styles', {
            'visibilty': 'hidden',
        });

However nothing seems to be working, am I missing something?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about css