AmigaActive (686/1947)

From:Jan-Erik Karlsson
Date:11 Apr 2001 at 14:58:02
Subject:Re: JS and Amiga

Hello, Matt

this works on AWeb but not on Voyager (actually it works on all browsers
except voyager 3.3.95 or 3.2)

<SCRIPT LANGUAGE="JavaScript">
var namnet;
function tacka()
{
alert("tack för att du besökte min website "+namnet);
}

function namnForfragan()
{
namnet = prompt("Var god skriv ditt namn här","");
}

function skicka_mail()
{
alert("du vill nog inte skicka detta mail?!");
return false;
}

function visa_address(i)
{
if(i == 1)

document.form1.addressOutput.value="trg@privat.utfors.se";
else if(i == 2)

document.form1.addressOutput.value="lotta@privat.utfors.se";
else if(i == 3)

document.form1.addressOutput.value="maria@privat.utfors.se";
else
alert("feeeel");
}

function kolla_Weblasare()
{
if(navigator.appName.indexOf("Explorer") != -1)
{
alert("skaffa dig en ny och bättre webbrowser "+namnet);
document.location.href ="http://www.netscape.com";
}
else
{
document.writeln("Välkommen till min hemsida "+namnet);
}
}

</SCRIPT>
</HEAD>
<BODY BGCOLOR="#999999" TEXT="#000000" onUnload="tacka();">
<FONT TYPE="Comic Sans MS" SIZE="2">
<SCRIPT LANGUAGE="JavaScript">
namnForfragan();kolla_Weblasare();
</SCRIPT>
</FONT>
<FORM NAME="form1" onSubmit="skicka_mail();">
<INPUT TYPE="button" NAME="minAddress" VALUE="Jan-Erik"
onClick="visa_address(1);">
<INPUT TYPE="button" NAME="lottasAddress" VALUE="Lotta"
onClick="visa_address(2);">
<INPUT TYPE="button" NAME="MariasAddress" VALUE="Maria"
onClick="visa_address(3);"><BR>
Address:<BR>
<INPUT TYPE="text" NAME="addressOutput" VALUE="">
<BR>
Brev:<BR>
<TEXTAREA NAME="textarea1" VALUE="" ROWS="10"
COLUMNS="5"></TEXTAREA>
<BR>
<INPUT TYPE="submit" NAME="sand" VALUE="S„nd Mail">
</FORM>

With kind regards,
Jan-Erik Karlsson



Email: trg@privat.utfors.se
UIN (ICQ): 54667153


I'd love to, but I don't want to leave my comfort zone.

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Secure your servers with 128-bit SSL encryption!
Grab your copy of VeriSign's FREE Guide,
"Securing Your Web site for Business." Get it now!
http://us.click.yahoo.com/KVNB7A/e.WCAA/bT0EAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/