Replace text url by small gif
Posted: Thu May 22, 2008 8:20 pm
Hi!
Your guestbook is great, thank you. It works fine as well. I have a short question though.
I do not want to have visible text links. When a visitor has a homepage it is listed in the guestbook as text.
<a href="go.php?url='.$url.'" class="smaller" '.$target.'>'.$url.'</a>
I want to replace the text-url by a small homepage-gif-image.
<a href="go.php?url='.$url.'" class="smaller" '.$target.'><IMG SRC="..." BORDER="0"</a>
works...the gif is clickable. The only problem is that this image always shows up even when a visitor has NO homepage. Is there a way only to display the image when the url is filled in and not empty?
Your guestbook is great, thank you. It works fine as well. I have a short question though.
I do not want to have visible text links. When a visitor has a homepage it is listed in the guestbook as text.
<a href="go.php?url='.$url.'" class="smaller" '.$target.'>'.$url.'</a>
I want to replace the text-url by a small homepage-gif-image.
<a href="go.php?url='.$url.'" class="smaller" '.$target.'><IMG SRC="..." BORDER="0"</a>
works...the gif is clickable. The only problem is that this image always shows up even when a visitor has NO homepage. Is there a way only to display the image when the url is filled in and not empty?