|
Post by Ron on Jan 27, 2005 23:45:58 GMT
This code will replace your SayBox's default popup text with an image you specify. Place this code after your popup SayBox code. Replace "ht tp://your site.com/saybox.gif" with the URL of the image you want. <script type="text/javascript"> <!--
// Written by Ron © SayBox 01/27/05
// replace this with the URL of your image var sbImgSrc = 'http://yoursite.com/saybox.gif';
var sbLink = document.getElementById('sbPopupLink'); var sbImg = document.createElement('img');
sbImg.border = '0'; sbImg.title = sbLink.firstChild.nodeValue; sbImg.src = sbImgSrc; sbLink.replaceChild(sbImg, sbLink.firstChild);
--> </script> If you have any problems, let me know.
|
|
|
Post by GameMaster on Jan 28, 2005 2:07:56 GMT
ok thank you that was pretty fast
|
|
|
Post by Peter on Jan 29, 2005 0:18:26 GMT
Nice job Ron
|
|
|
Post by GameMaster on Feb 2, 2005 0:45:13 GMT
on my site even though the image has finished loading the task bar still says that its loading the image im using?
|
|
|
Post by Ron on Feb 2, 2005 4:04:46 GMT
on my site even though the image has finished loading the task bar still says that its loading the image im using? Honestly, I don't know what could be causing that. I'm guessing it's something on your end because it worked fine for me in both Firefox and Internet Explorer.
|
|