محمدلطفي Admin
الجنسية : اردنية عدد المساهمات : 705
| موضوع: كود غير لون الصفحة بمجرد مرور الماوس على اسم اللون 29/6/2009, 11:32 pm | |
| طريقة التركيب 1- انسخ هذا الكود و ضعه في منطقة HEAD - الكود:
-
<script LANGUAGE="Javascript"> /*<!-- Original: The Radiance Group, Inc. (info@radiancegroup.com) --> <!-- This script and many more are available free online at --> <!-- The Javascript Source!! -> Visit our site at http://www.star28.com/ for more code * Translated By www.star28.com/* This notice must stay intact for use */ <!-- Begin function makeArray(q){ for(i=1 ; i <= q ; i++){this[i]=0}} Colors = new makeArray(7); Colors[1] = "00"; Colors[2] = "33"; Colors[3] = "66"; Colors[4] = "99"; Colors[5] = "CC"; Colors[6] = "FF"; // End --> </script> 2- انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY - الكود:
-
<center> <table cellspacing =0 cellpadding =0> <script language="Javascript"> for(i=1 ; i <= 6 ; i++){ for(j=1 ; j <= 6 ; j++){ for(k=1 ; k <= 6 ; k++){ var thiscolor = Colors[i] + Colors[j] + Colors[k]; document.writeln("<tr><td height = 20 bgcolor = \"#" + thiscolor + "\" align = right><a href = "); document.writeln("\'\' onMouseOver = \"document.bgColor = \'" + thiscolor + "\'\">" + thiscolor + "</a></td></tr>"); } } } </script> </table> </center> |
|