1,273
edits
Dandonkulous (talk | contribs) |
Dandonkulous (talk | contribs) |
||
Line 28: | Line 28: | ||
'matches': ['*.google.com', 'jetpack.mozillalabs.com'], | 'matches': ['*.google.com', 'jetpack.mozillalabs.com'], | ||
'includes': { | 'includes': { | ||
'script': ['http://ajax.googleapis.com/ajax/libs/mootools/1.2.4/mootools.js'], | |||
'styles': ['http://yui.yahooapis.com/3.0.0/build/cssbase/base-min.css'] | |||
}, | }, | ||
'styles': { | 'styles': { | ||
'body': { | |||
'background': '#ffffff', | |||
'font-family': 'Trebuchet MS' | |||
} | |||
}, | }, | ||
'script': function(){ | 'script': function(){ | ||
$('container').addEvents({ | |||
'click:relay(ul li)': function(){ this.setStyles('background','#000') }, | |||
'mousenter:relay(ul li)': function(){ this.tween('background','#000') }, | |||
'mouseleave:relay(ul li)': function(){ this.tween('background','#fff') } | |||
}); | |||
} | } | ||
}); | }); |
edits