Jump to content

Script Help - Can you identify this?


KrazyEnglishman

Recommended Posts

It is using a form of css and javascript.

 

Here is a sample of what it can look like and you can play around with it.

 

<div id="MENU"

 style="position:relative; width:480px; text-align:center;

 background-color:#c9cfcb; color:#333633; cursor:hand"

   onclick="document.getElementById('ITEMS').style.visibility='visible'"

   ondblclick="document.getElementById('ITEMS').style.visibility='hidden'">

     <b>Click Here For Picture Zoom</b>

</div>



<div id="ITEMS" 

style="position:absolute; visibility:hidden; width:480px; text-align:center;

background-color:#DEB887; color:#FFFFFF"

 onmouseover="this.style.visibility='visible'"

 onmouseout="this.style.visibility='hidden'">



 <div style="background-color:#f6ebd7; color:#333633;" mouseover="this.style.backgroundColor='#f6ebd7'">

This is the layer that would be visible on click. You would put a img src= here and make the layer the <div> the same size as the pic. You would also have to change cursor to whatever clever item you would like

 </div>

</div>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.