开发者

Javascript tooltip help

开发者 https://www.devze.com 2023-02-15 13:54 出处:网络
How do I create a tooltip with an image when hovering over a row (tr). ? My image url: http://dk.orvillemedia.com/ads/banners/345/_125x125.jpg

How do I create a tooltip with an image when hovering over a row (tr). ?

My image url: http://dk.orvillemedia.com/ads/banners/345/_125x125.jpg

<table id="tabel1" border="0" bordercolor="#000000" style="background-color:#FFFFFF" width="700" cellpadding="0" cellspacing="0">
<tr id="toptr">
      <td>Navn</td>
      <td>Bedommelse</td>
      <td>Vaerdi</td>
      <td>Tid</td>
      <td>Udtraekkes</td>
      <td>Type</td>
   </tr>
   <tr style="background: none repeat scroll 0% 0% white; cursor: pointer;" onclick="window.open('http://tracking.euroads.dk/system/tracking.php?sid=1&amp;cpid=3008&amp;adid=538706&amp;acid=4123&amp;eatrackid=13614')" onmouseout="this.style.background='white';" onmouseover="this.style.background='#99ff33';this.style.cursor='pointer'">
      <td style="padding-left: 5px;" width="320px">Vind 20.000 kr til dine faste udgifter hver måned i ...</td>
      <td>4 ud af 5</td>
      <td>20000 DKK</td>
      <td>2 min</td>
      <td>Nyhedsbrev</td>
      <td>18 July</td>
   </tr>
</tbody&开发者_如何转开发gt;
</table>

Please show an example in http://jsfiddle.net - I am not an javascript expert


Here is my solution : http://jsfiddle.net/egrMp/15/

0

精彩评论

暂无评论...
验证码 换一张
取 消