Okay, I have AjaxIM, and I want to make an Input Hex Code button..
I got the button part down, but the thing that’s not working is the writing to the document/chat box..
Here’s my Java Script code:
[CODE]<script language=”javascript” type=”text/javascript”>
function jsInputBox()
{
var tlink=prompt(“Enter the Hex code Here (without the #)”,””);
if(tlink!=””)
{
IM.active.setFontColor(‘#tlink’)
}
else
{
alert(“No Input Received”);
}
}
</script>
And here’s the button text:
[CODE]<tr>
<td class=”colorItem” style=”size:12;text-align:center;” onclick=”javascript: jsInputBox();”>Input hex code</td>
</tr>
If you want to see the chat, and stuff..
Go to:
[url]http://chat.fighterlegend.com/
and log in with
username: test
password: testtest
Thanks for your help!
-Fighterlegend