Click to See Complete Forum and Search --> : I liked the aim status idea.


xlegend
05-06-2003, 09:51 AM
Can someone tell me what is wrong with this code?
<html>
<script>
function GetAimStatus()
{
var ScreenName=this.form.aimsn.value;
{
location="http://big.oscar.aol.com/" + ScreenName + "?on_url=image/online.gif&off_url=image/offline.gif"
</script>
<body>
<FORM name=myForm>
<TEXTAREA name=aimsn size=50 cols=30 rows=5></textarea>


<P><INPUT name=button2 onclick="GetAimStatus();" type=button value=Check_Status>
</body>
</html>

I liked the aim check status idea. Thank you.

khalidali63
05-06-2003, 10:11 AM
apart from the validity of this search string
http://big.oscar.aol.com/" + ScreenName + "?on_url=image/online.gif&off_url=image/offline.gif

can you even get find user log in status like this?
point to the resource where you go this info,so that some one can help you.

xlegend
05-06-2003, 10:28 AM
Originally posted by obviousunknown
there is a html code that will display two different images depending on if a user is signed on the AIM or signed off.
<img src="http://big.oscar.aol.com/screenname?on_url=image/online.gif&off_url=image/offline.gif">


What I wanted to do initially was write a javascript that would first generate a specified number of input boxes, second take the scren names from those textboxes and see if each ser is online, and third display the image (online or offline) beside the screen name of each user. This, however, is way out of my league. Any help would be greatly appreciated.

khalidali63
05-06-2003, 10:32 AM
I or some one else can help you with the most part of your question,however,question still remains that
"Does AOL allow http request based status information"? if not then all of by you or by any one who would help you is fruitless..

Make any sense?

xlegend
05-06-2003, 11:35 AM
Try going to this url...

http://big.oscar.aol.com/obviousunknown?on_url=http://www.aimfilez.com/online.gif&off_url=http://www.aimfilez.com/offline.gif

Should answer your question...

Thanks

xlegend
05-06-2003, 12:28 PM
<form name="form1">
<select style="font-size:12px;color:#006699;font-family:verdana;background-color:#ffffff;" name="menu">
<option value="http://">1</option>
<option value="http://">2</option>
<option value="http://">3</option>
<option value="http://">4</option>
<option value="http://">5</option>
<option value="http://">6</option>
<option value="http://">7</option>
<option value="http://">8</option>
</select>
<input style="font-size:12px;color:#ffffff;font-family:verdana;background-color:#006699;" type="button" onClick="SomeFuction(document.form1.menu.options[document.form1.menu.selectedIndex].value);" value="Generate">
</form>


<!--<script>
somefunction()
{
generate html code on page (using cookies perhaps)
perhaps in new window (if easier)
tables + button for submit
}
</script>-->

This is an example of what I would like somefuction to generate.
<hr>
<TABLE BORDER=1 WIDTH=700 HEIGHT=20>
<TD ALIGN="center" VALIGN="right" WIDTH=300><b>Screen Name</b></TD>
<TD ALIGN="center" VALIGN="right" WIDTH=300><b>Status</b></TD>
</TABLE>
<TABLE BORDER=1 WIDTH=700 HEIGHT=20>
<TD ALIGN="center" VALIGN="right" WIDTH=300><b><TEXTAREA name="" size=50 cols=30 rows=1></textarea></b></TD>
<TD ALIGN="center" VALIGN="right" WIDTH=300><b>Image goes here on submit</b></TD>
</TABLE>
<INPUT name=button2 onclick="Check status for all boxes generated" type=button value=Check_Status>


Okay... so this is all garbage for the most part. Just felt like writing down some ideas so that you could get a better idea of what I'm trying to accomplish. Another fuction would be needed to check the status of all users. I'll edit this post later.

Thankya