عرض مشاركة مفردة
 
  #54  
قديم 11-11-2004, 01:52 AM
عاشق مزنه عاشق مزنه غير متصل
عضو
 
تاريخ التسجيل: Nov 2004
مشاركة: 201
مستوى تقييم العضوية: 20
عاشق مزنه is on a distinguished road
الافتراضي

كود تغيير صورتين بمجرد مرور الماوس





كود:
<!-- TWO STEPS TO INSTALL PRELOAD IMAGES:

1. Paste the first into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://www.faisal1.com -->

<!-- Begin

image1 = new Image();
image1.src = "الصورة الثانية";

// End -->
</script>
</HEAD>

<!-- STEP TWO: Insert this code into the BODY of your HTML document -->

<BODY>

<a href="العنوان" onmouseover="image1.src='الصورة الثانية';"
onmouseout="image1.src='الصورة الأولى';">
<img name="image1" src="الصورة الأولى" border=0></a>

</BODY>