AIM Test Based Statis |
AIM Test Based Statis |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Dec 2004 Member No: 72,059 ![]() |
I have seen the nice little image hack for putting your AIM status on a web page but I want one that uses text instead of an image. I figure that there is probably a way to use javascript for this by testing the image code to see if it decided to use the online or offline image but I really don't know javascript very well. My solution needs to be javascript though since I have nowhere to host a cgi or php script. Here is the image code:
CODE <!-- begin code provided by createblog.com --> <img src="http://big.oscar.aol.com/username?on_url=http://domain/path/image.gif&off_url=http://domain/path/image.gif" /> <!-- end code provided by createblog.com --> Like I said I figure there should be a way to use an if statement to test the outcome and pick the appropriate phrase to use with the write function. I know the theory just not the syntax and a few other important things. |
|
|
![]() |
![]()
Post
#2
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Dec 2004 Member No: 72,059 ![]() |
This is for a web page. This little bit of code can be used to display an image on your website and it is conditional based on if you are signed into AIM or not. So if you are online it displays with the image which is pointed to by the on_url value included in the query string. I don't have anywhere to host the images and I am wanting to use text anyway to stick an little link saying that I am online that people can click to send me an IM or a message saying that I am offline with a link that they can click to add me to their buddy list.
You can see the included code in action with an explanation here. |
|
|
![]() ![]() |