View Full Version : How To Myspace Online Now Icons on div layout ????


jpg963
08-19-2006, 08:45 PM
How would I put the myspace "online Now" icon in my div layout. I want them to be functional as in show online now when they are online and be clear when offline. I have the html & javascript code from myspace inself but do not know how to incorporate it into my div..... Any help would be greatly appreciated.... Here is a link to my page:


http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=101190604

And here is the code from myspace.........

<script src="http://cache.static.userplane.com/presence/m/f.js" language="javascript"

type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!--


up_runPresence('AXnqfM61umxVY13efxkZBvLVU5L60cVhXc 1L//fjxwo560LnDGDvPnVtLZWhzoJT');
//-->
</script>


</body>


<IFRAME SRC="" NAME="onl241719188xyz918283524" ID="onl241719188xyz918283524"

STYLE="border:0px;width:0px;height:0px;"></IFRAME>
<SCRIPT TYPE="text/javascript">
onlineNowInfoURL="http://onlinenow.myspace.com/OnlineNow/UsersOnline.html";
javaScriptURL="http://x.myspace.com";
ImageStore=new Array();
ImageStore[0]=new Object();
ImageStore[0].url="http://i.myspace.com";
ImageStore[0].baseID=0;
clearImage=new Image();
clearImage.src="http://i.myspace.com/site/images/clear.gif";
onlineNowImage=new Image();
onlineNowImage.src="http://x.myspace.com/images/onlinenow.gif";
</SCRIPT>
<SCRIPT TYPE="text/javascript" DEFER="DEFER">
window.setTimeout("onlineNowNodeParser=new

OnlineNowNodeParser(\"onl241719188xyz918283524\");onlineNowNodeParser.run();", 100);
</SCRIPT>
<style type="text/css">
body, html {visibility:visible !important; display:block !important}
</style>
</html>