> /* from:http://simplexdesign.blogspot.com/ */ imgr = new Array(); imgr[0] = "http://lh3.ggpht.com/_kViOplhgIHI/TKxBIScZTiI/AAAAAAAAAWE/PM7AQ1lf6ME/noimages.jpg"; showRandomImg = true; aBold = true; summaryPost = 140; numposts1 = 5; label1 = "منوعات"; function removeHtmlTag(strx,chop){var s=strx.split("<");for(var i=0;i")!=-1){s[i]=s[i].substring(s[i].indexOf(">")+1,s[i].length)}}s=s.join("");s=s.substring(0,chop-1);return s} function showrecentposts1(json){j=(showRandomImg)?Math.floor((imgr.length+1)*Math.random()):0;img=new Array();for(var i=0;iimgr.length-1) j=0; img[i] = imgr[j]; s = postcontent ; a = s.indexOf("![]()

'+daystr+''+removeHtmlTag(postcontent,summaryPost)+'...
'; document.write(trtd); j++; }} >
المصدر : http://masrstars.com/vb/showthread.php?t=243287 - masrstars.com
استمتع بحياتك
< src='http://dl.dropbox.com/u/12924430/contentslider.js'>> <> featuredcontentslider.init({ id: "slider1", //id of main slider DIV contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"] toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc] nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide. enablefade: [true, 0.5], //[true/false, fadedegree] autorotate: [true, 6000], //[true/false, pausetime] onChange: function(previndex, curindex){ //event handler fired whenever changes slide //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc) //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc) } }) >
المصدر : http://masrstars.com/vb/showthread.php?t=243287 - masrstars.com