Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Figured it out! use different id's,classes, for every button. example below is of one button, change numbers of id's/classes for every other button</p> <p>HTML: 1. the CSS (style)has to have it's own id EX:(.pop-up1,2,3,etc.; .button1,2,3,etc.) 2. the <code>&lt;A&gt;</code> (anchor tag)has to have its own id and class EX:(ID=BUTTON1,2,3,etc; CLASS=button1,2,3,etc.) 3. the div tag <code>&lt;div&gt;</code> has to have it's own id, class, image id EX:(DIV ID="popup1", CLASS="pop-up1",IMG ID="popupImage1</p> <pre><code>&lt;STYLE MEDIA="screen" TYPE="text/css"&gt; .pop-up1 {height: 100px;width: 100px;margin-right:-100px;margin-top:-100px;position:absolute;display:none;right:-50px;top: 75px;opacity:.7;z-index: 1} .button1 { width:300px; height:21px; display:block; background-image:url(images/button_ufad4.gif); position:absolute; } .button1:hover { background-position:left 43px; } &lt;/STYLE&gt; &lt;A ID="BUTTON1" HREF="" CLASS="button1" ONMOUSEOVER="javascript:ShowImage('images/ufad2servicesexteriorandinteriordetailing.gif')" ONMOUSEOUT="javascript:HideImage()"&gt;&lt;/A&gt; &lt;DIV ID="popup1" CLASS="pop-up1"&gt; &lt;IMG ID="popupImage1"&gt; &lt;/DIV&gt; </code></pre> <p>Javascript:</p> <pre><code>&lt;script type="text/javascript"&gt; function ShowImage(src) { var img= document.getElementById('popupImage1'); var div= document.getElementById('popup1'); img.src=src; div.style.display="block"; } function HideImage() { document.getElementById('popup1').style.display ="none";} &lt;/script&gt; </code></pre>
    singulars
    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.
    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