المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : تقنية اجاكس حلوة جدا وفعالة



walid_8281500
03-23-2009, 03:56 AM
السلام عليكم\


بصراحة لا اعرف بماذا اسميها لاني جديدي في تقنية اجاكس

لكن الكود رح يشرح لكم المقصود :




<html dir="rtl">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="****/html; charset=windows-1255">
<title>صفحة جديدة 2</title>
<****** language="**********">
<!--
function FP_swapImg() {//v1.0
var doc=********,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
var d=********,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=********; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</******>
</head>

<body onload="FP_preloadImgs(/*url*/'http://ashams.com/images/b40.jpg', /*url*/'http://ashams.com/images/b41-2.jpg', /*url*/'http://ashams.com/images/b42-2.jpg', /*url*/'http://ashams.com/images/b43-2.jpg', /*url*/'http://ashams.com/images/b41.jpg', /*url*/'http://ashams.com/images/b42.jpg', /*url*/'http://ashams.com/images/b40-2.jpg', /*url*/'http://ashams.com/images/b43.jpg')">

<div align="center">
<table style="DIRECTION: rtl" cellSpacing="0" cellPadding="0" width="370" height="226">
<!-- MSTableType="layout" -->
<tr>
<td vAlign="bottom" width="93">
<a style="****-decoration: none" href="**********:void(0)">
<img id="img2" onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'http://ashams.com/images/b40.jpg');FP_swapImg(1,0,/*id*/'img1',/*url*/'http://ashams.com/images/b41-2.jpg');FP_swapImg(1,0,/*id*/'img3',/*url*/'http://ashams.com/images/b42-2.jpg');FP_swapImg(1,0,/*id*/'img4',/*url*/'http://ashams.com/images/b43-2.jpg');ajaxpage('aymanajax.php?cat=8&amp;ss=33', 'setlistajax2')" height="42" src="http://ashams.com/images/b40-2.jpg" width="92" border="0" $src="http://ashams.com/images/b40.jpg"></a></td>
<td vAlign="bottom" width="93">
<a style="****-decoration: none" href="**********:void(0)">
<img id="img1" onclick="FP_swapImg(1,0,/*id*/'img1',/*url*/'http://ashams.com/images/b41.jpg'); FP_swapImg(1,0,/*id*/'img2',/*url*/'http://ashams.com/images/b40-2.jpg'); FP_swapImg(1,0,/*id*/'img3',/*url*/'http://ashams.com/images/b42-2.jpg'); FP_swapImg(1,0,/*id*/'img4',/*url*/'http://ashams.com/images/b43-2.jpg');ajaxpage('aymanajax.php?cat=284&amp;ss=33', 'setlistajax2')" height="42" src="http://ashams.com/images/b41.jpg" width="92" border="0" $src="http://ashams.com/images/b41-2.jpg"></a></td>
<td vAlign="bottom" width="92">
<a style="****-decoration: none" href="**********:void(0)">
<img id="img3" onclick="FP_swapImg(1,0,/*id*/'img3',/*url*/'http://ashams.com/images/b42.jpg');FP_swapImg(1,0,/*id*/'img1',/*url*/'http://ashams.com/images/b41-2.jpg');FP_swapImg(1,0,/*id*/'img2',/*url*/'http://ashams.com/images/b40-2.jpg');FP_swapImg(1,0,/*id*/'img4',/*url*/'http://ashams.com/images/b43-2.jpg');ajaxpage('aymanajax.php?cat=12&amp;ss=33', 'setlistajax2')" src="http://ashams.com/images/b42-2.jpg" border="0" $src="http://ashams.com/images/b42-2.jpg"></a></td>
<td vAlign="bottom" height="42" width="92">
<a style="****-decoration: none" href="**********:void(0)">
<img id="img4" onclick="FP_swapImg(1,0,/*id*/'img4',/*url*/'http://ashams.com/images/b43.jpg');FP_swapImg(1,0,/*id*/'img1',/*url*/'http://ashams.com/images/b41-2.jpg');FP_swapImg(1,0,/*id*/'img2',/*url*/'http://ashams.com/images/b40-2.jpg');FP_swapImg(1,0,/*id*/'img3',/*url*/'http://ashams.com/images/b42-2.jpg');ajaxpage('aymanajax.php?cat=6&amp;ss=33', 'setlistajax2')" src="http://ashams.com/images/b43-2.jpg" border="0" $src="http://ashams.com/images/b43-2.jpg"></a></td>
</tr>
<tr>
<td background="http://ashams.com/images/bg90.jpg" colspan="4" height="184">
<div id="setlistajax2">
<table style="BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; DIRECTION: rtl; BORDER-RIGHT-WIDTH: 0px" height="77" cellSpacing="0" cellPadding="0" width="351">
<!-- MSTableType="layout" -->
<tr>
<td>&nbsp;</td>
<td style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM: #e0dccf 1px dotted; BORDER-RIGHT-WIDTH: 1px">
<font style="FONT-WEIGHT: 700; FONT-SIZE: 8pt" face="Tahoma" color="#4b4b4b">
<img src="http://ashams.com/images/arrow.jpg" border="0"></font><font style="FONT-SIZE: 8.5pt" face="Tahoma" color="#4b4b4b">
</font><font style="FONT-SIZE: 8.5pt" face="Tahoma"><b>
<a style="****-decoration: none" href="http://ashams.com/article.php?id=40086">
<span style="****-DECORATION: none">محاميا شليط
الفرنسيان يطلبان الدخول الى قطاع غزة ولقاء خاطفيه</span></a></b><a style="****-decoration: none" href="http://ashams.com/article.php?id=40086"><span style="****-DECORATION: none">
</span></a></font><br>
<span style="FONT-SIZE: 1pt"><br>
</span><font style="FONT-SIZE: 8pt" face="Tahoma">عبرت
عائلة الجندي الاسير جلعاد شليط عن استيائها العارم لما
وصف بحالة الجمود الكامل التي تشهدها الاتصالات والمف...</font></td>
<td style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM: #e0dccf 1px dotted; BORDER-RIGHT-WIDTH: 1px" vAlign="center" height="76">
<a style="****-decoration: none" href="http://ashams.com/article.php?id=40086">
<img height="61" src="http://ashams.com/arch/94x61/86760341920070625t001525z_01_nootr_rtridsp_2_oegtp palsoldierab2_tcm61093715.jpg" width="94" align="left" border="0"></a></td>
</tr>
<tr>
<td width="15">&nbsp;</td>
<td width="231">&nbsp;</td>
<td width="105" height="1"></td>
</tr>
</table>
<!-- ayman knany -->
<table style="BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; DIRECTION: rtl; BORDER-RIGHT-WIDTH: 0px" height="76" cellSpacing="0" cellPadding="0" width="351">
<!-- MSTableType="layout" -->
<tr>
<td>&nbsp;</td>
<td style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM: #e0dccf 1px dotted; BORDER-RIGHT-WIDTH: 1px">
<a style="****-decoration: none" href="http://ashams.com/article.php?id=40083">
<img height="61" src="http://ashams.com/arch/94x61/325457540hamag1.jpg" width="94" border="0"></a></td>
<td style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM: #e0dccf 1px dotted; BORDER-RIGHT-WIDTH: 1px" vAlign="center" height="76">
<font style="FONT-WEIGHT: 700; FONT-SIZE: 8pt" face="Tahoma" color="#4b4b4b">
<img src="http://ashams.com/images/arrow.jpg" border="0"></font><font style="FONT-SIZE: 8.5pt" face="Tahoma" color="#4b4b4b">
</font><font style="FONT-SIZE: 8.5pt" face="Tahoma"><b>
<a style="****-decoration: none" href="http://ashams.com/article.php?id=40083">
<span style="****-DECORATION: none">لجنة الدفاع عن حقوق
المهجرين تصف اساليب الشرطة بالوحشية</span></a></b><a style="****-decoration: none" href="http://ashams.com/article.php?id=40083"><span style="****-DECORATION: none">
</span></a></font><br>
<span style="FONT-SIZE: 1pt"><br>
</span><font style="FONT-SIZE: 8pt" face="Tahoma">اكد
المحامي واكيم واكيم سكرتير لجنة الدفاع عن حقوق المهجرين
ان اللجنة ستطالب بلجنة تحقيق بعد الصدامات التي وقع...</font></td>
</tr>
<tr>
<td width="16">&nbsp;</td>
<td width="103">&nbsp;</td>
<td width="232" height="1"></td>
</tr>
</table>
<!-- ayman knany --></div>
</td>
</tr>
</table>
</div>

</body>

</html>