IM online status indicator

B

bonAveo.net

Hi, I need help with a script.

I have no idé how I can make it, I just know the spesifications.

Hope someone can at least guide me into the right direction...

I need one field and 3 images.

When your entering eg. "usr" into the field the adresses for the images
has to change to...

http://checker.tdknights.com:1337/yahoo/usr
http://checker.tdknights.com:1337/aim/usr
http://checker.tdknights.com:1337/msn/usr

....and the images have to refresh. How can I make this? The script has
to support @ in the username since the msn picture uses @ in peoples
usernames.
 
T

Tim

@g47g2000cwa.googlegroups.com:

Hope someone can at least guide me into the right direction...

Well, I'm not exactly going to write the whole code but I can give you
these directions:

use the onblur="changeImages(this.value)" as attribute within your input
field. The function changeImages will be triggered when the user leaves
the field.

Give your images a name (<img name="imgname" src="xyz.jpg"> ).

Use the value that is passed on in the function changeImages to create
new url's. Change the source of your images (imgname.src = newurl).
Access your images trough the proper DOM (google on this word if you
don't know how to do it properly).

Test your script at least in both Internet Explorer AND Mozilla Firefox.
;-) If you have time, try also Opera, Safari and other commonly used
browsers.

Try writing the script on your own. Should you have any problems, let me
know (I con't come here too often, so it's best to post your answer so I
can reply for the whole group, but also to mail me so I know you
answered here. Mail address: myfirstname(changethis)[email protected]
)

good luck with it,
Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top