Michael_vx
عدد المساهمات : 1066 معدل النشاط : 7997 السُمعة : 69
| موضوع: رد: هل يمكن مساعدتي في استخراج هذا الكود لتركيبه في منتداي الجمعة 5 يونيو 2015 - 21:04 | |
| صعب استخراج لوحة المفاتيح من جوجل لدى لوحة مفاتيح اخرى - الكود:
-
<p align="center"> <font color="#990033" face="Simplified Arabic"> <b>لوحة مفاتيح للأجهزة التى لا تدعم اللغة العربية</b> </font> </td> </tr> </table> </center> </td> </tr> <tr> <td width="543" height="490"> <form name="form1"> <div align="center"> <center> <table borderColor="#111111" height="466" cellSpacing="0" cellPadding="0" width="462"> <tr> <td width="455" height="230"> <p align="center"> <img src="http://www.qariya.info/pc/images/key1.gif" border="0" usemap="#map1" width="450" height="156"> <br> <img src="http://www.qariya.info/pc/images/key2.gif" border="0" usemap="#map2" width="354" height="43"> <br> <input style="font-weight: bold; font-size: 9pt; color: #008080; font-family: Tahoma" onclick="document.form1.text1.value=document.form1.text1.value + '\n'; document.form1.text1.focus();" type="button" value="أدخال"> <input style="font-weight: bold; font-size: 9pt; color: #008080; font-family: Tahoma" onclick="document.form1.text1.value =document.form1.text1.innerText.substr(0,document.form1.text1.innerText.length-1); document.form1.text1.focus();" type="button" value="فارغ"> <input style="font-weight: bold; font-size: 9pt; color: #008080; font-family: Tahoma" onclick="document.form1.text1.value=document.form1.text1.value + 'اهلا وسهلا بكم'; document.form1.text1.focus();" type="button" value="افتتاحية"> <input style="font-weight: bold; font-size: 9pt; color: #008080; font-family: Tahoma" onclick="document.form1.text1.value=document.form1.text1.value + 'مرحبا بكم معنا هنا'; document.form1.text1.focus();" type="button" value="ترحيب"> <input style="font-weight: bold; font-size: 9pt; color: #008080; font-family: Tahoma" onclick="document.form1.text1.value=document.form1.text1.value + 'شكراً لك كثيرا'; document.form1.text1.focus();" type="button" value="شكر"> </td> </tr> <tr> <td width="455" height="172"> <p align="center"> <textarea dir="rtl" style="font-size: 13px; color: #000000; font-family: Tahoma; background-color: #ffffff" name="text1" rows="13" wrap="PHYSICAL" cols="72"> </textarea> </td> </tr> <tr> <td width="455" height="22"> </td> </tr> </table> </center> </div> </form> </td> </tr> </table> </center> <SCRIPT language=JavaScript> <!--
document.form1.text1.focus();
var ie = (navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersion>= '4')? true:false
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
function makeArray() {
for (var i=0; i < arguments.length; i++)
this[i] = arguments[i];
this.length = arguments.length;
}
function keyPress(e) {
var kkey=0;
var other=0;
if (ns4) {kkey=e.which}
if (ie4) {kkey=event.keyCode}
if (kkey>= 97 && kkey <= 122){document.form1.text1.value = document.form1.text1.value + ach[kkey-97]; other=1}
if (kkey == 32){document.form1.text1.value = document.form1.text1.value + ' '; other=1}
if (kkey>= 48 && kkey <= 57){document.form1.text1.value = document.form1.text1.value + String.fromCharCode(kkey); other=1}
if (kkey == 96){document.form1.text1.value = document.form1.text1.value + 'ذ'; other=1}
if (kkey == 91){document.form1.text1.value = document.form1.text1.value + 'ج'; other=1}
if (kkey == 93){document.form1.text1.value = document.form1.text1.value + 'د'; other=1}
if (kkey == 59){document.form1.text1.value = document.form1.text1.value + 'ك'; other=1}
if (kkey == 39){document.form1.text1.value = document.form1.text1.value + 'ط'; other=1}
if (kkey == 44){document.form1.text1.value = document.form1.text1.value + 'و'; other=1}
if (kkey == 46){document.form1.text1.value = document.form1.text1.value + 'ز'; other=1}
if (kkey == 47){document.form1.text1.value = document.form1.text1.value + 'ظ'; other=1}
if (other==1) return false
}
function aa(a,b,c,d,e)
{
if (ie)
document.write("<area shape=\"rect\" coords=\"" + a+","+b+","+c+","+d + "\" onClick=\"form1.text1.value=form1.text1.value + '" + e + "';\; document.form1.text1.focus();\">");
else
document.write("<area shape=\"rect\" coords=\"" + a+","+b+","+c+","+d + "\" href=\"javascript: return true;\" onClick=\"javascript: form1.text1.value=form1.text1.value + '" + e + "';\; document.form1.text1.focus();\">");
}
document.write("<map name=\"map1\">")
aa(119,123,292,146,' ')
aa(7,5,32,29,'ذ')
aa(37,4,60,26,'1')
aa(65,4,89,28,'2')
aa(96,3,117,28,'3')
aa(125,5,147,27,'4')
aa(155,5,176,28,'5')
aa(183,4,205,27,'6')
aa(212,5,235,27,'7')
aa(241,6,263,28,'8')
aa(271,6,292,30,'9')
aa(298,4,324,30,'0')
aa(334,92,361,118,'ظ')
aa(306,92,331,114,'ز')
aa(276,93,300,115,'و')
aa(246,93,271,115,'ة')
aa(219,91,245,115,'ى')
aa(190,91,214,115,'لا')
aa(159,93,186,115,'ر')
aa(130,95,153,118,'ؤ')
aa(101,90,127,117,'ء')
aa(74,92,96,115,'ئ')
aa(351,61,376,88,'ط')
aa(321,63,348,86,'ك')
aa(293,64,315,87,'م')
aa(263,63,286,87,'ن')
aa(234,62,258,85,'ت')
aa(206,64,229,87,'ا')
aa(178,64,200,87,'ل')
aa(148,63,170,86,'ب')
aa(118,64,142,89,'ي')
aa(90,64,112,87,'س')
aa(60,64,84,86,'ش')
aa(371,34,397,58,'د')
aa(343,35,368,59,'ج')
aa(315,33,339,58,'ح')
aa(285,35,310,60,'خ')
aa(255,34,280,57,'ه')
aa(229,34,251,57,'ع')
aa(198,35,222,58,'غ')
aa(169,34,193,57,'ف')
aa(140,33,165,58,'ق')
aa(110,35,134,57,'ث')
aa(82,36,103,57,'ص')
aa(51,35,71,55,'ض')
document.write("</map>")
document.write("<map name=\"map2\">")
aa(318,3,344,31,'؛')
aa(282,4,308,32,'/')
aa(255,6,277,31,'،')
aa(225,3,248,30,'ـ')
aa(195,4,222,32,'أ')
aa(168,6,192,32,'لأ')
aa(129,5,158,34,'؟')
aa(102,6,127,32,'.')
aa(71,6,96,32,',')
aa(37,6,62,32,'آ')
aa(8,6,31,30,'لآ')
document.write("</map>")
var ach = new makeArray("ش","لا","ؤ","ي","ث","ب","ل","ا","ه","ت","ن","م","ة","ى","خ","ح","ض","ق","س","ف","ع","ر","ص","ء","غ","ئ");
document.form1.text1.onkeypress = keyPress
if (ns4) document.form1.text1.captureEvents(Event.KEYPRESS);
//--> </SCRIPT> <map name="map1"> <area onclick="form1.text1.value=form1.text1.value + ' ';; document.form1.text1.focus();" shape="RECT" coords="119,123,292,146"> <area onclick="form1.text1.value=form1.text1.value + 'ذ';; document.form1.text1.focus();" shape="RECT" coords="7,5,32,29"> <area onclick="form1.text1.value=form1.text1.value + '1';; document.form1.text1.focus();" shape="RECT" coords="37,4,60,26"> <area onclick="form1.text1.value=form1.text1.value + '2';; document.form1.text1.focus();" shape="RECT" coords="65,4,89,28"> <area onclick="form1.text1.value=form1.text1.value + '3';; document.form1.text1.focus();" shape="RECT" coords="96,3,117,28"> <area onclick="form1.text1.value=form1.text1.value + '4';; document.form1.text1.focus();" shape="RECT" coords="125,5,147,27"> <area onclick="form1.text1.value=form1.text1.value + '5';; document.form1.text1.focus();" shape="RECT" coords="155,5,176,28"> <area onclick="form1.text1.value=form1.text1.value + '6';; document.form1.text1.focus();" shape="RECT" coords="183,4,205,27"> <area onclick="form1.text1.value=form1.text1.value + '7';; document.form1.text1.focus();" shape="RECT" coords="212,5,235,27"> <area onclick="form1.text1.value=form1.text1.value + '8';; document.form1.text1.focus();" shape="RECT" coords="241,6,263,28"> <area onclick="form1.text1.value=form1.text1.value + '9';; document.form1.text1.focus();" shape="RECT" coords="271,6,292,30"> <area onclick="form1.text1.value=form1.text1.value + '0';; document.form1.text1.focus();" shape="RECT" coords="298,4,324,30"> <area onclick="form1.text1.value=form1.text1.value + 'ظ';; document.form1.text1.focus();" shape="RECT" coords="334,92,361,118"> <area onclick="form1.text1.value=form1.text1.value + 'ز';; document.form1.text1.focus();" shape="RECT" coords="306,92,331,114"> <area onclick="form1.text1.value=form1.text1.value + 'و';; document.form1.text1.focus();" shape="RECT" coords="276,93,300,115"> <area onclick="form1.text1.value=form1.text1.value + 'ة';; document.form1.text1.focus();" shape="RECT" coords="246,93,271,115"> <area onclick="form1.text1.value=form1.text1.value + 'ى';; document.form1.text1.focus();" shape="RECT" coords="219,91,245,115"> <area onclick="form1.text1.value=form1.text1.value + 'لا';; document.form1.text1.focus();" shape="RECT" coords="190,91,214,115"> <area onclick="form1.text1.value=form1.text1.value + 'ر';; document.form1.text1.focus();" shape="RECT" coords="159,93,186,115"> <area onclick="form1.text1.value=form1.text1.value + 'ؤ';; document.form1.text1.focus();" shape="RECT" coords="130,95,153,118"> <area onclick="form1.text1.value=form1.text1.value + 'ء';; document.form1.text1.focus();" shape="RECT" coords="101,90,127,117"> <area onclick="form1.text1.value=form1.text1.value + 'ئ';; document.form1.text1.focus();" shape="RECT" coords="74,92,96,115"> <area onclick="form1.text1.value=form1.text1.value + 'ط';; document.form1.text1.focus();" shape="RECT" coords="351,61,376,88"> <area onclick="form1.text1.value=form1.text1.value + 'ك';; document.form1.text1.focus();" shape="RECT" coords="321,63,348,86"> <area onclick="form1.text1.value=form1.text1.value + 'م';; document.form1.text1.focus();" shape="RECT" coords="293,64,315,87"> <area onclick="form1.text1.value=form1.text1.value + 'ن';; document.form1.text1.focus();" shape="RECT" coords="263,63,286,87"> <area onclick="form1.text1.value=form1.text1.value + 'ت';; document.form1.text1.focus();" shape="RECT" coords="234,62,258,85"> <area onclick="form1.text1.value=form1.text1.value + 'ا';; document.form1.text1.focus();" shape="RECT" coords="206,64,229,87"> <area onclick="form1.text1.value=form1.text1.value + 'ل';; document.form1.text1.focus();" shape="RECT" coords="178,64,200,87"> <area onclick="form1.text1.value=form1.text1.value + 'ب';; document.form1.text1.focus();" shape="RECT" coords="148,63,170,86"> <area onclick="form1.text1.value=form1.text1.value + 'ي';; document.form1.text1.focus();" shape="RECT" coords="118,64,142,89"> <area onclick="form1.text1.value=form1.text1.value + 'س';; document.form1.text1.focus();" shape="RECT" coords="90,64,112,87"> <area onclick="form1.text1.value=form1.text1.value + 'ش';; document.form1.text1.focus();" shape="RECT" coords="60,64,84,86"> <area onclick="form1.text1.value=form1.text1.value + 'د';; document.form1.text1.focus();" shape="RECT" coords="371,34,397,58"> <area onclick="form1.text1.value=form1.text1.value + 'ج';; document.form1.text1.focus();" shape="RECT" coords="343,35,368,59"> <area onclick="form1.text1.value=form1.text1.value + 'ح';; document.form1.text1.focus();" shape="RECT" coords="315,33,339,58"> <area onclick="form1.text1.value=form1.text1.value + 'خ';; document.form1.text1.focus();" shape="RECT" coords="285,35,310,60"> <area onclick="form1.text1.value=form1.text1.value + 'ه';; document.form1.text1.focus();" shape="RECT" coords="255,34,280,57"> <area onclick="form1.text1.value=form1.text1.value + 'ع';; document.form1.text1.focus();" shape="RECT" coords="229,34,251,57"> <area onclick="form1.text1.value=form1.text1.value + 'غ';; document.form1.text1.focus();" shape="RECT" coords="198,35,222,58"> <area onclick="form1.text1.value=form1.text1.value + 'ف';; document.form1.text1.focus();" shape="RECT" coords="169,34,193,57"> <area onclick="form1.text1.value=form1.text1.value + 'ق';; document.form1.text1.focus();" shape="RECT" coords="140,33,165,58"> <area onclick="form1.text1.value=form1.text1.value + 'ث';; document.form1.text1.focus();" shape="RECT" coords="110,35,134,57"> <area onclick="form1.text1.value=form1.text1.value + 'ص';; document.form1.text1.focus();" shape="RECT" coords="82,36,103,57"> <area onclick="form1.text1.value=form1.text1.value + 'ض';; document.form1.text1.focus();" shape="RECT" coords="51,35,71,55"> </map> <map name="map2"> <area onclick="form1.text1.value=form1.text1.value + '؛';; document.form1.text1.focus();" shape="RECT" coords="318,3,344,31"> <area onclick="form1.text1.value=form1.text1.value + '/';; document.form1.text1.focus();" shape="RECT" coords="282,4,308,32"> <area onclick="form1.text1.value=form1.text1.value + '،';; document.form1.text1.focus();" shape="RECT" coords="255,6,277,31"> <area onclick="form1.text1.value=form1.text1.value + 'ـ';; document.form1.text1.focus();" shape="RECT" coords="225,3,248,30"> <area onclick="form1.text1.value=form1.text1.value + 'أ';; document.form1.text1.focus();" shape="RECT" coords="195,4,222,32"> <area onclick="form1.text1.value=form1.text1.value + 'لأ';; document.form1.text1.focus();" shape="RECT" coords="168,6,192,32"> <area onclick="form1.text1.value=form1.text1.value + '؟';; document.form1.text1.focus();" shape="RECT" coords="129,5,158,34"> <area onclick="form1.text1.value=form1.text1.value + '.';; document.form1.text1.focus();" shape="RECT" coords="102,6,127,32"> <area onclick="form1.text1.value=form1.text1.value + ',';; document.form1.text1.focus();" shape="RECT" coords="71,6,96,32"> <area onclick="form1.text1.value=form1.text1.value + 'آ';; document.form1.text1.focus();" shape="RECT" coords="37,6,62,32"> <area onclick="form1.text1.value=form1.text1.value + 'لآ';; document.form1.text1.focus();" shape="RECT" coords="8,6,31,30"> </map> باى مكان يقبل الهتمل اتمنى ان تفى بالغرض | |
|