I like how sitepoint profiles have a little AOL IM icon that when clicked opens a popup window with the IM remote bar. I'd like to add this to my class site so that students can contact me, but I don't want the big remote bar on the page. I'd rather have a little icon they can click on and have the bar popup. The code sitepoint uses for this is:
<SCRIPT LANGUAGE="javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no")
// -->
}
</SCRIPT>
Being new to javascript, what do I need to change to make this reference something on my site?
Thanks!




I was thinking it might be a simple thing that I just didn't know how to do yet. It's not a mission critical feature...something that would be nicer than the big box AOL provides for the web page. The semester just ended, so I have until mid-January to figure something out. For now, I've got the AOL thing on my page and it is working fine.

Bookmarks