View Single Post
ישן 30-05-10, 19:04   # 4
~The_Sultan~
חבר על
 
מיני פרופיל
תאריך הצטרפות: Oct 2008
הודעות: 771

~The_Sultan~ לא מחובר  

אולי פונקציה שלמה פה יכולה לעזור:

PHP קוד:
<script type="text/javascript">
   var 
clicked false;

   function 
onmouseover_event(id)
   {
      if (!(
clicked))
      {
           
document.getElementById(id).style.height "100px";
           
document.getElementById(id).style.width "100px";
       }
    }

   function 
onmouseout_event(id)
   {
      if (!(
clicked))
      {
           
document.getElementById(id).style.height "90px";
           
document.getElementById(id).style.width "90px";
       }
    }
</script>

<img id="image_1" src="images/temp.gif" style="width: 90px; height: 90px;" onmouseover="onmouseover_event(this.id);" onmouseout="onmouseout_event(this.id);" onclick="this.style.backgroundColor='red'; clicked=true;"/> 
תסתכלי על זה ותנסי להבין את כיוון המחשבה שלי...
  Reply With Quote