- Katzen
- May 15, 2004 08:02 PM
Is there a way to use images instead of text?
Yes, just edit the red HTML to support Images.
I'll post a preview in a sec.
EDIT:
Ok, this isn't supposed to look professional. Just an example.

Just substitute the "on" for "Offline" as well
to do this:
- Quote:
-
<iframe id='lookup' src='http://sx.invisionfree.com/myBoard/index.php' width='0' height='0' frameBorder='0'></iframe> <script>//Online/Offline Legend - By Markup names=[] if(top.location!=location.href) { div=document.body.getElementsByTagName("DIV") for(i=0;i<div.length;i++)if(div.className=="thin")break a=div.getElementsByTagName("A") for(i=0;i<a.length;i++)names=a.innerHTML parent.updateStatus() } function updateStatus() { td=document.body.getElementsByTagName("TD") for(i=0;i<td.length;i++)if(td.firstChild.className=="postdetails"&&td.innerHTML.match("Posts: ")) { found=false sPost=td.firstChild names=parent.frames['lookup'].names for(a=0;a<names.length;a++) { if(td[i-2].innerHTML.match(names[a])) { sPost.innerHTML+="<img src='enter_the_image_url_here'>" found=true } } if(!found)sPost.innerHTML+="<img src='enter_the_image_url_here'>" } } </script>
|