Script Categories













Forms >>> Aim Message.

Send messages to anyone using AOL Instant Messenger.

You must have AIM running for this to work.
ScreenName to Send to:
Message:

or

Click

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
<!-- Original:  Tony Marinaro (me1054@yahoo.com) -->
<!-- Web Site:  http://la_cruz.tripod.com -->
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function doAIM() {
var action;
var msg = document.frmAIM.txtMessage.value;
var newMsg = "";
var charSpec = "N";
var specials = "&? @%";
for(var i = 0; i < msg.length; i++) {
for(var q = 0; q < specials.length; q++) {
if(msg.charAt(i) == specials.charAt(q)) {
charSpec = "Y";
break;
}
else {
charSpec = "N";
   }
}
if(charSpec == "Y") {
newMsg += "+";
}
else {
newMsg += msg.charAt(i);
   }
}
action = "aim:goim?screenname=";
action += document.frmAIM.txtName.value;
action += "&message=";
action += newMsg;
document.frmAIM.action = action;
document.frmAIM.submit();
}
//  End -->
</script>
<center>
You must have AIM running for this to work.
<form method=post name="frmAIM">
ScreenName to Send to: <input type=text value="Screenname" onFocus="this.select();" name="txtName"><br>
Message:<br>
<textarea name="txtMessage" rows="5" cols="32" wrap="virtual">Just Enter Your Message Here!</textarea><br>
<input type=button onClick="doAIM();" value="Send Message!">
</form>
or<br>
<
br>
<a href="aim:goim?screenname=Screenname&message=Hi,+Are+you+there?">Click</a>
</center>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

Bitcoin Dice Site . Cash Advance Payday Loans USA


©