2 <bindings xmlns="http://www.mozilla.org/xbl"
3 xmlns:html="http://www.w3.org/1999/xhtml">
6 <handler event="click" button="0"
7 action="window.location=this.attributes.url.value;"/>
8 <handler event="mouseover"
9 action="window.status=this.attributes.url.value;"/>
10 <handler event="mouseout"
11 action="window.status=null;"/>
17 <html:img xbl:inherits="src=fileref"/>
22 var img = document.getAnonymousNodes(this)[0];
23 var file = this.getAttribute("fileref");
24 // HACK: using img.src=file 'inline' doesn't seem to work
25 // but it does when called from a setTimeout()
26 var f = function() { img.src = file; }