Hey you are a lovely asshole.
I didn't have it correct. Here it is right.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd" />
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns="http://www.w3.org/TR/REC-html40"
xmlns:product="urn:products"
xmlns:move="urn:move"
xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<head>
<!--[if gte mso 9]>
<xml>
<o:CustomDocumentProperties>
<o:Approval_x0020_Level msdt:dt="string">Code Review</o:Approval_x0020_Level>
<o:Categories msdt:dt="string">In Process</o:Categories>
<o:Assigned_x0020_To msdt:dt="string">Administrator</o:Assigned_x0020_To>
</o:CustomDocumentProperties>
</xml>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<meta http-equiv="Content-Language" content="en-US" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<meta http-equiv="imagetoolbar" content="false" />
<meta http-equiv="expires" content="-1" />
<meta name="author" content="George Hester" />
<meta name="owner" content="George Hester" />
<meta name="rating" content="XXX" />
<meta name="robots" content="index,follow" />
<meta name="save" content="favorite" />
<meta name="MS.LOCAL" content="EN-US" />
<meta name="GENERATOR" content="Microsoft FrontPage 6.0" />
<meta name="ProgId" content="FrontPage.Editor.Document" />
<link rel="SHORTCUT ICON" href="/icons/cl6D11.ico" />
<script type="text/javascript" src="/jscripts/initial.js"></script>
<script type="text/javascript">
<!-- Begin
if (ns4 || ns6){
window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN );
window.onmouseup = spawn;
window.onmousedown = prespawn;
}
else if (ie4 || ie5){
document.onmouseup = spawn;
document.onmousedown = prespawn;
}
function prespawn(ev){
if (ns4 || ns6){
startX = ev.pageX;
startY = ev.pageY;
}
else if (ie4 || ie5){
if (!ev)
ev = window.event;
startX = ev.clientX;
startY = ev.clientY;
}
}
function spawn(ev){
var oSelect = '';
var oRange = '';
var oFlag = false;
if (ns4 || ns6)
oSelect = document.getSelection();
else if (ie4 || ie5){
if (!ev)
ev = window.event;
oFlag = true;
oRange = document.selection.createRange();
oSelect = oRange.text;
}
if (oSelect == '')
return;
else{
spawnwin = window.open('','disp','status=0,height=200,width=3 00,left=300,top=200');
var oText = (oFlag)?'('+ev.clientX+','+ev.clientY+')<br />':'('+ev.pageX+','+ev.pageY+')<br />';
with (spawnwin.document){
open('text/html');
writeln('<html>\n<head>\n<title>Sub-window</title>\n');
writeln('</head>\n<body>\n');
writeln(oSelect);
writeln('<br />');
writeln('Started at: ');
writeln('('+startX+','+startY+')<br />');
writeln('Ended at: ');
writeln(oText);
writeln('</body>\n</html>');
close()
}
}
}
// End -->
</script>
<style type="text/css">
<!--
body { background-color: #FF0000;
color: #FFCC99; }
a { text-decoration: none; }
-->
</style>
<title>Netscape Mouse Capture</title>
</head>
<body>
<blockquote>Thanks for getting all the way down here. Nobody reads the very bottom of a Web Page huh?
But then if nothing works at a Web Page then it's all a ball of shit anyway. That's the way I am feeling.
Some people say "You're fast.." and others say "I can't get shit from you..." I have tried to access my site
from a Dial-Up connection AOL and Man!, if I had to deal with that I'd think hesterloli is full of crap. So hesterloli is at its wit's end. I want to please everyone but I seem not to be able to.
Let's just say this site was made for Microsoft Internet Explorer using Windows 32-bit, 800 x 600 pixels, 24 bit color, and Cable. If you have all that you may have had fun here.
If you don't you probably wished you had fun here. Keep letting me know about your issues. Some I can fix and most I probably can't.
But I will be a better hesterloli knowing them anyway. Sigh é nora!</blockquote>
</body>
</html>
--
George Hester
__________________________________
"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message news:cm*******************@news.demon.co.uk...
George Hester wrote:
<snip> So I cannot do this:
if (oSelect == '' || oSelect.type = "None")
return;
else{
//stuff
}
Any suggestions how to fix this? Thanks.
Desist from writing scripts until you have learnt javascript, everything
you do in the meanwhile will be a bad idea.
Richard.