Log In · Register

 
 
Closed TopicStart new topic
AIM Test Based Statis
The_Twist
post Dec 16 2004, 07:08 PM
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.
 
Relentless
post Dec 18 2004, 07:05 PM
Post #2


sang loves hayden.
*******

Group: Staff Alumni
Posts: 3,373
Joined: Feb 2004
Member No: 5,687



I dont really get you.. =/.. but all i know <img src="URL OF IMAGE"> only works on wepages but not on AIM...
 
The_Twist
post Dec 18 2004, 07:31 PM
Post #3


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.
 
*mona lisa*
post Dec 23 2004, 03:17 PM
Post #4





Guest






xanga has one like this, but i think its with the little aim sign on/off with it. btw, that image code is messed up and won't work. i doubt you can use javascript, but maybe you can. turn it on, on your xanga. get the code, see how it works and then turn it off.
 
The_Twist
post Dec 24 2004, 04:19 AM
Post #5


Newbie
*

Group: Member
Posts: 3
Joined: Dec 2004
Member No: 72,059



The image code works fine for me, you just have to edit the variables. Also I don't use xanga so I can't check it there.
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: