Artenis Posted August 18, 2008 Report Share Posted August 18, 2008 (edited) <script language="javascript" type="text/javascript"> function ajaxFunctionx(page,per_page){ startx=page*per_page-per_page; endx=startx+per_page; alert(startx+" un "+endx); for (var i=0;i<=50;i++){ elems=document.getElementById('sludline'+i); if(startx>i || endx<=i){ elems.style.display="none"; }else { elems.style.display="block"; } } } </script> Vai ir iespējams no šī javascript gabaliņa, pardīt: page vai startx ar php? Kaut kā caur php apzīmē vai kaut kā tā... Ja var tad varbūt nelielu piemēŗu ar kaut vai echo! paldies! Edited August 18, 2008 by Artenis Link to comment Share on other sites More sharing options...
Artenis Posted August 18, 2008 Author Report Share Posted August 18, 2008 Slēdzam. viss ok! Link to comment Share on other sites More sharing options...
Recommended Posts