Log In · Register

 
 
Closed TopicStart new topic
Add Comment Images, ex. "add comments" from xanga audio and photos
incisions
post Dec 22 2006, 03:29 AM
Post #1


Newbie
*

Group: Member
Posts: 7
Joined: Sep 2006
Member No: 460,534



I want to put the "add comments" image from the xanga audio and photoblogs in my weblog. Its the little talk "bubble" you click to add comments to the audio and photoblog.

How can I make it so that image is present in my weblog? For example on my blog, instead of clicking "add coconuts/comments" I want people to click on that image. Can anyone help?
 
talcumpowder
post Dec 22 2006, 06:21 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



[ http://www.createblog.com/forums/index.php?showtopic=50330 ]

You'll need the URL of the image.
CODE
<script language="javascript"><!--
var links = document.getElementsByTagName ('a');
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "<img src=EPROPSIMAGEHERE border='0'>");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "<img src=EPROPSIMAGEHERE border='0'>");else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "<img src=COMMENTSIMAGEHERE border='0'>");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "<img src=COMMENTSIMAGEHERE border='0'>");}//-->
</script>
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: