1var sPop = null; 2var pltsoffsetX = 10; 3var pltsoffsetY = 15; 4 5document.write('\ 6 <style type="text/css"> \ 7 #popLayer { \ 8 position:absolute; \ 9 Z-INDEX: 1000; \ 10 text-align : left; \ 11 white-space: nowrap; \ 12 font-family: Tahoma, Verdana; \ 13 visibility: hidden; \ 14 } \ 15 </style> \ 16 <div id="popLayer" class="popupmenu_popup" nowrap></div> \ 17'); 18 19function showPopupText(event) { 20 try { 21 o = event.srcElement ? event.srcElement : event.target; 22 if (o.alt != null && o.alt != '') { o.pop = o.alt; o.alt = ''; } 23 if (o.title != null && o.title != '') { o.pop = o.title; o.title = ''; } 24 if (o.pop != sPop) { 25 sPop = o.pop; 26 if (sPop == null || sPop == '') { 27 $('popLayer').style.visibility = 'hidden'; 28 $('popLayer').innerHTML = ''; 29 } else { 30 $('popLayer').style.visibility = 'visible'; 31 $('popLayer').innerHTML = sPop.replace(/<(.*)>/g, "<$1>").replace(/\n/g, '<br />'); 32 moveToMouseLoc(event); 33 } 34 } 35 } catch (e) { 36 return true; 37 } 38} 39 40function moveToMouseLoc(event){ 41 try { 42 if ($('popLayer').innerHTML == '') return true; 43 var MouseX = event.clientX; 44 var MouseY = event.clientY; 45 var popHeight = $('popLayer').offsetHeight; 46 var popWidth = $('popLayer').offsetWidth; 47 if (MouseY + pltsoffsetY + popHeight > document.documentElement.clientHeight - 10) { 48 popTopAdjust =- popHeight - pltsoffsetY * 1.5; 49 } else { 50 popTopAdjust = 0; 51 } 52 if (MouseX + pltsoffsetX + popWidth > document.documentElement.clientWidth - 10) { 53 popLeftAdjust =- popWidth - pltsoffsetX * 2; 54 } else { 55 popLeftAdjust = 0; 56 } 57 var pleft = MouseX + pltsoffsetX + document.documentElement.scrollLeft + popLeftAdjust; 58 var ptop = MouseY + pltsoffsetY + document.documentElement.scrollTop + popTopAdjust; 59 $('popLayer').style.left = (pleft > 5 ? pleft : 5) + 'px'; 60 $('popLayer').style.top = (ptop > 5 ? ptop : 5) + 'px'; 61 return true; 62 } catch (e) { 63 return true; 64 } 65} 66/* 67if (!document.onmouseover) { 68 document.onmouseover = function(e) { 69 !e ? showPopupText(window.event) : showPopupText(e); 70 }; 71} 72*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.