All pastes #950115 Raw Edit

tt-rss

public xml v1 · immutable
·published 2008-03-20 10:30 UTC
rendered paste body
XML parsing failed: syntax error (Line: 1559, Character: 851)Reparse document as HTMLError:mismatched end-tagSpecification:http://www.w3.org/TR/REC-xml/  1: <reply><headlines id="146"><![CDATA[<div id="headlinesContainer" ><table class="headlinesSubToolbar" id="headlineActionsTop"  2: 				width="100%" cellspacing="0" cellpadding="0"><tr><td class="headlineActions">  3: 						<ul class="headlineDropdownMenu">  4: 						<li class="top2">1556: store the originating webslice element when the mouse pointer moves1557: from the element to the floater. Let's now look at the main bindings1558: starting by the one for the webslices. That's the one on :hover :</p>1559: <pre>  <binding id="webchunk"><br></br>    <implementation><br></br>      <constructor><![CDATA[<br></br>          var x = 0, y = 0;<br></br>          var elt = this;<br></br>          while (elt)<br></br>          {<br></br>            x = x + elt.offsetLeft;<br></br>            y = y + elt.offsetTop;<br></br>            elt = elt.offsetParent;<br></br>          }<br></br>          var image = document.body.mWebchunkIcon;<br></br>          image.style.top = y + "px";<br></br>          image.style.left = Math.max(0, x - 28) + "px";<br></br>          image.style.display = "inline";<br></br>          image.style.visibility = "visible";<br></br>          this.style.outline = "thin ridge rgb(186,154,236)";<br></br>          <strong>document.body.mHovered = this;</strong><br></br>          <strong>image.mSlice = this;</strong><br></br>      ]]></constructor><br></br>    </implementation><br></br>  </binding></pre>1560: <p>When the binding is applied, we position the icon, make it1561: appear, and store a ref to the originating element in the icon and the1562: body. When the mouse leaves the element, we use the other binding :</p>