Click here to Skip to main content
16,021,115 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please help me.

my jquery:


XML
<script type="text/javascript" language="ecmascript">

      function ShowBiggerImage(obj) {

          document.getElementById("imgdiv").style.visibility = "visible";
          document.getElementById("imgdiv").innerHTML = "<img src='" + obj.src + "'+'width=640 height=480' >";
          document.getElementById("imgdiv").style.left = event.clientX;
          document.getElementById("imgdiv").style.top = event.clientY;

          document.getElementById("imgdiv").style.zIndex = "0";

      }
      function ShowDefaultImage(obj) {
          document.getElementById("imgdiv").innerHTML = "";
          document.getElementById("imgdiv").style.visibility = "hidden";
      }


  </script>
Posted

1 solution

This looks reasonable. Why are you asking us, when you have code ? You don't say that it doesn't work, or tell us what is going wrong ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900