To allow your site visitors to see a particular Yahoo! Messenger user's online status, simply use the following HTML code:
where u = usernameCode:<a href="ymsgr:SendIM?username"><img src="http://opi.yahoo.com/online?u=userna...;m=g&t=2"></a>
t = type of online status icon
You can also use values 0 and 1 for t to choose online status icon designs.
When a site visitor clicks on the online status icon, Yahoo! Messenger will run on his computer, if available. If Yahoo! Messenger is already running, a new chat session window will appear.