/[mldonkey]/mldonkey/src/daemon/common/commonMessages.ml
ViewVC logotype

Diff of /mldonkey/src/daemon/common/commonMessages.ml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by spiralvoice, Thu Jul 14 15:34:14 2005 UTC revision 1.24 by spiralvoice, Sun Jul 17 16:06:25 2005 UTC
# Line 259  top.fstatus.document.writeln(\"type=subm Line 259  top.fstatus.document.writeln(\"type=subm
259  top.fstatus.document.writeln(\"</tr></table></body></html>\");  top.fstatus.document.writeln(\"</tr></table></body></html>\");
260  top.fstatus.document.close();  top.fstatus.document.close();
261  }  }
262    
263    if (document.layers) {navigator.family = \"nn4\"}
264    if (document.all) {navigator.family = \"ie4\"}
265    if (window.navigator.userAgent.toLowerCase().match(\"gecko\")) {navigator.family = \"gecko\"}
266    
267    
268    overdiv=\"0\";
269    function popLayer(a){
270    if (navigator.family == \"gecko\") {pad=\"0\"; bord=\"1 bordercolor=black\";}
271    else {pad=\"1\"; bord=\"0\";}
272    desc = \"<table cellspacing=0 cellpadding=\"+pad+\" border=\"+bord+\"  bgcolor=000000><tr><td>\\n\"
273            +\"<table cellspacing=0 cellpadding=10 border=0 width=100%><tr><td bgcolor=#DDFFFF><center><font size=-1>\\n\"
274            +a
275            +\"\\n</td></tr></table>\\n\"
276            +\"</td></tr></table>\";
277    if(navigator.family ==\"nn4\") {
278            document.object1.document.write(desc);
279            document.object1.document.close();
280            document.object1.left=x+15;
281            document.object1.top=y-5;
282            }
283    else if(navigator.family ==\"ie4\"){
284            object1.innerHTML=desc;
285            object1.style.pixelLeft=x+15;
286            object1.style.pixelTop=y-5;
287            }
288    else if(navigator.family ==\"gecko\"){
289            document.getElementById(\"object1\").innerHTML=desc;
290            document.getElementById(\"object1\").style.left=x+15;
291            document.getElementById(\"object1\").style.top=y-5;
292            }
293    }
294    
295    function hideLayer(){
296    if (overdiv == \"0\") {
297            if(navigator.family ==\"nn4\") {eval(document.object1.top=\"-500\");}
298            else if(navigator.family ==\"ie4\"){object1.innerHTML=\"\";}
299            else if(navigator.family ==\"gecko\") {document.getElementById(\"object1\").style.top=\"-500\";}
300            }
301    }
302    
303    var isNav = (navigator.appName.indexOf(\"Netscape\") !=-1);
304    function handlerMM(e){
305    
306    // oder Plazierung neben Mauszeiger
307    x = (isNav) ? e.pageX : event.clientX + document.body.scrollLeft;
308    y = (isNav) ? e.pageY : event.clientY + document.body.scrollTop;
309    
310    }
311    if (isNav){document.captureEvents(Event.MOUSEMOVE);}
312    document.onmousemove = handlerMM;
313  //-->  //-->
314    "    "
315    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26