Page 1 of 1

image into title of link

Posted: Sat Jul 16, 2005 3:27 am
by ddragas
Hi all

Is it possible to put image into title of link?

Re: image into title of link

Posted: Sat Jul 16, 2005 3:48 am
by x4t
ddragas wrote:Hi all

Is it possible to put image into title of link?
What kind of info do you mean?

Posted: Sat Jul 16, 2005 4:35 am
by ddragas
Is this possible to do?

Code: Select all

<?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>
mp;amp;lt;?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.ur;<img src=\"../path/to/some/image/file\">";

echo "<td&gt;&quote; . '&lt;a href=&quote;../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '&quote; title=&quote;' . $this_is_title . '">' . $opis . "&e/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $t../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>o do?

Code: Select all

<?
$this_is_title = &quote;&lt;img src=\&quote;../path/to/some/image/file\&quote;&gt;&quote;;

echo &quote;&lt;td&gt;&quote; . '&lt;a href=&quote;../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '&quote; title=&quote;' . $this_is_title . '&quote;&gt;' . $opis . &quote;&lt;/o do?

Code: Select all

<?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>
e;<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>"../path/to/some/image/file\">";

echo "<td>&quote; . '&lt;a href=&quote;../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '&quote; title="' . $this_is_title . '">' . $opis . "</td>";
?&t;?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>&quote;;
?&gt;amp;lt;td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</t. $this_is_title . '">' . $opis . "</td>";
?>]
<?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>uote;../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . &quote;&lt;/td&gt;&quote;;
?&quote;>' . $opis . "</td>";
?>p;amp;gt;" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?&groizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>o do?

Code: Select all

<?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>
amp;lt;/td>";
?><?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '&lt;a href=&quote;../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '&quote; title=&quote;' . $this_is_title . '&quote;&gt;' . $opis . &quote;&lt;/o "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>
<?
$this_is_title = "<img src=\"../path/to/some/image/file\">";

echo "<td>" . '<a href="../stranice/pregled_proizvoda.php?id='.urlencode($id_proizvoda) . '" title="' . $this_is_title . '">' . $opis . "</td>";
?>

Posted: Sat Jul 16, 2005 5:22 am
by onion2k
In plain HTML, no.

Using DHTML with divs and some Javascript, yes.

Posted: Sat Jul 16, 2005 9:03 am
by ddragas
thank you for reply