2
Contributors
1
Reply
3
Views
5 Years
Discussion Span
Last Post by Taywin
0

I think you should not use "anchor" tag because it does not act the way you want. What you may want is to use is a simple style for the table cell and move the "onclick" event to the table cell itself.

Also, you may consider passing the href & title in arguments format instead of leaving them inside an element.

<td width="75" style="text-align:center;cursor:hand;cursor:pointer" onclick="return showpic('images/#thisImage#', '#thisdesc#')" href="images/#thisImage#" title="#thisdesc#">
<img ...>
</td>

/*
Then change the showpic(obj) to showpic(href, title). After that of which.title to title and which.href to href instead
*/
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.