Note that there are some explanatory texts on larger screens.

plurals
  1. POMouseover event fails to execute
    primarykey
    data
    text
    <p>I wan to add a mouse over event to a shape in HTML code<br> I declare the CSS code as below :</p> <pre><code>.tooltip { border-bottom: 1px dotted #000000; color: #000000; outline: none; cursor: help; text-decoration: none; position: relative; } .tooltip span { margin-left: -999em; position: absolute; } .tooltip:hover span { border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); font-family: Calibri, Tahoma, Geneva, sans-serif; position: absolute; left: 1em; top: 2em; z-index: 99; margin-left: 0; width: 250px; } .tooltip:hover img { border: 0; margin: -10px 0 0 -55px; float: left; position: absolute; } .tooltip:hover em { font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold; display: block; padding: 0.2em 0 0.6em 0; } .classic { padding: 0.8em 1em; } .custom { padding: 0.5em 0.8em 0.8em 2em; } * html a:hover { background: transparent; } .classic {background: #FFFFAA; border: 1px solid #FFAD33; } .critical { background: #FFCCAA; border: 1px solid #FF3334; } .help { background: #9FDAEE; border: 1px solid #2BB0D7; } .info { background: #9FDAEE; border: 1px solid #2BB0D7; } .warning { background: #FFFFAA; border: 1px solid #FFAD33; } </code></pre> <p>I can run the mouse over event in this way</p> <pre><code>&lt;a class="tooltip" href="#"&gt; ADD HERE &lt;span class="custom info"&gt;&lt;img src="Info.png" alt="Information" height="50" width="50" /&gt; &lt;em&gt;Information&lt;/em&gt; 1-July-2011&lt;br /&gt; Value: 255&lt;br /&gt; Type=Startup&lt;br /&gt; QA&lt;br /&gt; QA &lt;/span&gt; &lt;/a&gt; </code></pre> <p>But it doesn't work this way, how can I fix it??</p> <pre><code>&lt;a class="tooltip" href="#"&gt; &lt;area shape="circle" coords="105,420,8" href="255.htm" /&gt; &lt;span class="custom info"&gt; &lt;img src="Info.png" alt="Information" height="50" width="50" /&gt; &lt;em&gt;Information&lt;/em&gt; 1-July-2011&lt;br /&gt; Value: 255&lt;br /&gt; Type=Startup&lt;br /&gt; QA&lt;br /&gt; QA &lt;/span&gt; &lt;/a&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload