View Single Post
ישן 09-12-10, 20:39   # 2
Haimz
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Sep 2010
הודעות: 1,221

Haimz לא מחובר  

אני לא מתמחה בJQ
אבל ניראה לי שזה יכול להיות פתרון בשבילך:
קוד:
<html>
<head>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
           $("#thisimg").mouseover(function(){
               $(this).fadeOut("slow");
               $(this).attr("src","image2.png");
               $(this).fadeIn("slow");
           });
        });
    </script>
</head>
<body>
    <img id="thisimg" src="image1.png" />
</body>
</html>
  Reply With Quote