View Full Version : Want to make comment popup link an image..how?
crissy
01-08-2007, 12:16 AM
What would the code be to make the comment popup link (usually just says "comments") into an image? I have an icon I would like to use, but I get some funky output when I try to use it there...
help please?
crissy
01-08-2007, 12:21 AM
Update, I found the code, but when you click it you get a popup for comments (GREAT) but it also redirects the main window to a comments page??
http://www.dearcrissy.com/photoblog/index.php
crissy
01-08-2007, 12:27 AM
nevermind, it doesn't work at all... help with tags/code please? :(
Dkozikowski
01-08-2007, 04:20 AM
try editing your language file.
on line 72 in lang-english.php you should see something like,
$lang_comment_popup = "Comments";
try putting something like this there,
$lang_comment_popup = "<img src=\"my_image.jpg\" alt=\"MY COMMENTS\" title=\"MY COMMENTS\" />";
NOTICE the <img src=\"my_image.jpg\" alt=\"MY COMMENTS\" title=\"MY COMMENTS\" />;
the \" are very important and the code will not work if any are missing!
crissy
01-08-2007, 04:41 AM
thank you very much!
Dkozikowski
01-08-2007, 04:59 AM
Not a problem!
If you have anymore questions to ask, feel free. I'll try to help you as best I can.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.