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

مشاهدة النسخة كاملة : عرض الصور والتصاميم بشكل صفحات مرقّمه (متحرك)



admin
10-31-2013, بتوقيت غرينيتش 02:53 AM
http://www.dzbatna.com/images/icons/iconrote.gif ط¹ط±ط¶ ط§ظ„طµظˆط± ظˆط§ظ„طھطµط§ظ…ظٹظ… ط¨ط´ظƒظ„ طµظپط*ط§طھ ظ…ط±ظ‚ظ‘ظ…ظ‡ (ظ…طھط*ط±ظƒ) (http://www.dzbatna.com/t1612422/)



بسم الله الرحمن الرحيم






السلام عليكم ورحمة الله وبركاته

كود code رائع وان شاء الله يعجبكم
الكود code اعجب احد ااعضاء ديزاد باتنة هنا في ركن طلبات المنتديات من احد المنتديات وعطاني المثال وجبته له
http://www.dzbatna.com/images/smilies/nosweat.gif

وقلت ليه ما انزله عشان يستفيد منه الجميع وان شاء الله مايكون مكرر لاني بحثت عنه هنا مالقيته
الكود code يعرض الصور او التصاميم او الاعلانات بشكل متحرك وجميل
ومتوافق مع جميع الاستايل styleات بحيث يكون لونة من لون الاستايل style



تم ادراج الكود code بدون روابط تشعيبيه ..في المرفقات


المثال

مصوّر


http://www.shr-1.com/up//uploads/images/--bdr--ac0581ea69.jpg






مثال حي


اسفل الهيدر header


اضغط هنا (http://www.alrams.net/forum)






الكود code :






رمز Code:
<!--بداية BEGIN TEMPLATE: كود code عرض الصور --> <style type=&quot;text/css&quot;> .contentslide { padding: 0px; margin: 0px; width: 450px; } .contentslide .contentdiv { display: none; } .pagination { width: 450px; text-align: right; /*background-color: #CCC;*/ border: 10px solid navy; border-width: 0 0px; padding: 0 0 2px 0; } * html .pagination { width: 450px; w/idth: 450px; } .pagination a { padding: 0 5px; text-decoration: none; color: #BECBDB; font-weight:bold ; /* background-color: #CCC;*/ } .pagination a:hover, .pagination a.selected { color: #FF0000; border:1px #FF0000 solid; font-size:9pt; } .my_desc { width:auto; height:20px; background-color:#FFF; opacity:0.6; filter:alpha(opacity=60); position:relative; top:280px; text-align:right; font-weight:bold; text-indent:5px; } </style> <!-- END TEMPLATE: rmsh_fnews_temp_source_css --> <!-- BEGIN TEMPLATE: rmsh_fnews_temp_source_javascript --> <script type=&quot;text/javascript&quot;> var csbustcachevar=0 var csloadstatustext=&quot;<img src='loading.gif' /> Requesting content...&quot; var csexternalfiles=[] var imgggg=&quot;التالي&quot; //don't edit below var enablepersist=true var slidernodes=new Object() var csloadedobjects=&quot;&quot; function ContentSlider(sliderid, autorun){ var slider=document.getElementById(sliderid) slidernodes[sliderid]=[] ContentSlider.loadobjects(csexternalfiles) var alldivs=slider.getElementsByTagName(&quot;div&quot;) for (var i=0; i<alldivs.length; i++){ if (alldivs[i].className==&quot;contentdiv&quot;){ slidernodes[sliderid].push(alldivs[i]) if (typeof alldivs[i].getAttribute(&quot;rel&quot;)==&quot;string&quot;) ContentSlider.ajaxpage(alldivs[i].getAttribute(&quot;rel&quot;), alldivs[i]) } } ContentSlider.buildpagination(sliderid) var loadfirstcontent=true if (enablepersist && getCookie(sliderid)!=&quot;&quot;){ var cookieval=getCookie(sliderid).split(&quot;:&quot;) if (document.getElementById(cookieval[0])!=null && typeof slidernodes[sliderid][cookieval[1]]!=&quot;undefined&quot;){ ContentSlider.turnpage(cookieval[0], parseInt(cookieval[1])) loadfirstcontent=false } } if (loadfirstcontent==true) ContentSlider.turnpage(sliderid, 0) if (typeof autorun==&quot;number&quot; && autorun>0) window[sliderid+&quot;timer&quot;]=setTimeout(function(){ContentSlider.autoturnpage( sliderid, autorun)}, autorun) } ContentSlider.buildpagination=function(sliderid){ var paginatediv=document.getElementById(&quot;paginate-&quot;+sliderid) var pcontent=&quot;&quot; for (var i=0; i<slidernodes[sliderid].length; i++) pcontent+='<a href=&quot;#&quot; onClick=\&quot;ContentSlider.turnpage(\''+sliderid+'\', '+i+'); return false\&quot;>'+(i+1)+'</a> ' pcontent+='<a href=&quot;#&quot; style=&quot;font-weight: bold;&quot; onClick=\&quot;ContentSlider.turnpage(\''+sliderid+'\', parseInt(this.getAttribute(\'rel\'))); return false\&quot;>'+imgggg+'</a>' paginatediv.innerHTML=pcontent paginatediv.onclick=function(){ if (typeof window[sliderid+&quot;timer&quot;]!=&quot;undefined&quot;) clearTimeout(window[sliderid+&quot;timer&quot;]) } } ContentSlider.turnpage=function(sliderid, thepage){ var paginatelinks=document.getElementById(&quot;paginate-&quot;+sliderid).getElementsByTagName(&quot;a&quot;) for (var i=0; i<slidernodes[sliderid].length; i++){ paginatelinks[i].className=&quot;&quot; slidernodes[sliderid][i].style.display=&quot;none&quot; } paginatelinks[thepage].className=&quot;selected&quot; slidernodes[sliderid][thepage].style.display=&quot;block&quot; paginatelinks[paginatelinks.length-1].setAttribute(&quot;rel&quot;, thenextpage=(thepage<paginatelinks.length-2)? thepage+1 : 0) if (enablepersist) setCookie(sliderid, sliderid+&quot;:&quot;+thepage) } ContentSlider.autoturnpage=function(sliderid, autorunperiod){ var paginatelinks=document.getElementById(&quot;paginate-&quot;+sliderid).getElementsByTagName(&quot;a&quot;) var nextpagenumber=parseInt(paginatelinks[paginatelinks.length-1].getAttribute(&quot;rel&quot;)) ContentSlider.turnpage(sliderid, nextpagenumber) //Show that DIV window[sliderid+&quot;timer&quot;]=setTimeout(function(){ContentSlider.autoturnpage( sliderid, autorunperiod)}, autorunperiod) } function getCookie(Name){ var re=new RegExp(Name+&quot;=[^;]+&quot;, &quot;i&quot;); if (document.cookie.match(re)) return document.cookie.match(re)[0].split(&quot;=&quot;)[1] return &quot;&quot; } function setCookie(name, value){ document.cookie = name+&quot;=&quot;+value } ContentSlider.ajaxpage=function(url, thediv){ var page_request = false var bustcacheparameter=&quot;&quot; if (window.XMLHttpRequest) page_request = new XMLHttpRequest() else if (window.ActiveXObject){ try { page_request = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;) } catch (e){ try{ page_request = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;) } catch (e){} } } else return false thediv.innerHTML=csloadstatustext page_request.onreadystatechange=function(){ ContentSlider.loadpage(page_request, thediv) } if (csbustcachevar) bustcacheparameter=(url.indexOf(&quot;?&quot;)!=-1)? &quot;&&quot;+new Date().getTime() : &quot;?&quot;+new Date().getTime() page_request.open('GET', url+bustcacheparameter, true) page_request.send(null) } ContentSlider.loadpage=function(page_request, thediv){ if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf(&quot;http&quot;)==-1)) thediv.innerHTML=page_request.responseText } ContentSlider.loadobjects=function(externalfiles){ for (var i=0; i<externalfiles.length; i++){ var file=externalfiles[i] var fileref=&quot;&quot; if (csloadedobjects.indexOf(file)==-1){ if (file.indexOf(&quot;.js&quot;)!=-1){ fileref=document.createElement('script') fileref.setAttribute(&quot;type&quot;,&quot;text/javascript&quot;); fileref.setAttribute(&quot;src&quot;, file); } else if (file.indexOf(&quot;.css&quot;)!=-1){ fileref=document.createElement(&quot;link&quot;) fileref.setAttribute(&quot;rel&quot;, &quot;stylesheet&quot;); fileref.setAttribute(&quot;type&quot;, &quot;text/css&quot;); fileref.setAttribute(&quot;href&quot;, file); } } if (fileref!=&quot;&quot;){ document.getElementsByTagName(&quot;head&quot;).item(0).appe ndChild(fileref) csloadedobjects+=file+&quot; &quot; } } } </script> <!-- END TEMPLATE: rmsh_fnews_temp_source_javascript --> <br> <table class=&quot;tborder&quot; style=&quot;border-collapse: collapse;&quot; width=&quot;500&quot; align=&quot;center&quot; border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;1&quot;> <thead> <tr> <td class=&quot;tcat&quot; align=&quot;center&quot; height=&quot;20&quot;> <a style=&quot;float: left;&quot; href=&quot;#top&quot; onclick=&quot;return toggle_collapse('rmsh_fnews_system')&quot;><img id=&quot;collapseimg_rmsh_fnews_system&quot; src=&quot;http://www.alrams.net/forum/rms-css/buttons/collapse_thead.gif&quot; alt=&quot;&quot; border=&quot;0&quot;></a>..:: ابداعات : تصاميم ::..</td> </tr></thead><tbody id=&quot;collapseobj_rmsh_fnews_system&quot; style=&quot;&quot;> <tr> <td class=&quot;alt1&quot;> <div align=&quot;center&quot;> <div id=&quot;slider1&quot; class=&quot;contentslide&quot;> <div class=&quot;opacitylayer&quot;> <!-- بداية --> <!-- END TEMPLATE: rmsh_fnews_temp_global_bit --><!-- BEGIN TEMPLATE: rmsh_fnews_temp_global_bit --> <div style=&quot;display: none;&quot; class=&quot;contentdiv&quot; id=&quot;slideshow&quot;> <a href=&quot;http://www.vb.aenhail.com&quot;> <span style=&quot;font-weight: 700; font-size: 14px&quot;>تصاميم</span></a><a href=&quot;http://www.alrams.net/forum/showthread.php?p=574725#post574725&quot; target=&quot;_blank&quot; title=&quot;وصف &quot;> </a> <br><br> <a target=&quot;_blank&quot; href=&quot;رابط الموضوع&quot;> <img title=&quot;تصاميم&quot; src=&quot;http://hanen2200.jeeran.com/aatttb.gif&quot; alt=&quot;تصاميم&quot; style=&quot;border: 0px none; width: 450px; height: 300px;&quot;></a><a style=&quot;&quot; href=&quot;http://www.vb.aenhail.com&quot; target=&quot;_blank&quot;> </a> <br><br> <div class=&quot;smallfont&quot;><b><font size=&quot;4&quot;>تصاميم <font color=&quot;#FF0000&quot;>: حنين الشوق</font> </font></b> </div> </div> <!-- نهاية --> <!-- بداية --> <!-- END TEMPLATE: rmsh_fnews_temp_global_bit --><!-- BEGIN TEMPLATE: rmsh_fnews_temp_global_bit --> <div style=&quot;display: none;&quot; class=&quot;contentdiv&quot; id=&quot;slideshow&quot;> <a href=&quot;http://www.vb.aenhail.com&quot;> <span style=&quot;font-weight: 700; font-size: 14px&quot;>تصاميم</span></a><a href=&quot;http://www.alrams.net/forum/showthread.php?p=574725#post574725&quot; target=&quot;_blank&quot; title=&quot;وصف &quot;> </a> <br><br> <a target=&quot;_blank&quot; href=&quot;رابط الموضوع&quot;> <img title=&quot;تصاميم&quot; src=&quot;http://hananalshog.googlepages.com/ooozh.jpg&quot; alt=&quot;تصاميم&quot; style=&quot;border: 0px none; width: 450px; height: 300px;&quot;></a><a style=&quot;&quot; href=&quot;http://www.vb.aenhail.com&quot; target=&quot;_blank&quot;> </a> <br><br> <div class=&quot;smallfont&quot;><b><font size=&quot;4&quot;>تصاميم <font color=&quot;#FF0000&quot;>: حنين الشوق</font> </font></b> </div> </div> <!-- نهاية --> <!-- بداية --> <!-- END TEMPLATE: rmsh_fnews_temp_global_bit --><!-- BEGIN TEMPLATE: rmsh_fnews_temp_global_bit --> <div style=&quot;display: none;&quot; class=&quot;contentdiv&quot; id=&quot;slideshow&quot;> <a href=&quot;http://www.vb.aenhail.com&quot;> <span style=&quot;font-weight: 700; font-size: 14px&quot;>تصاميم</span></a><a href=&quot;http://www.alrams.net/forum/showthread.php?p=574725#post574725&quot; target=&quot;_blank&quot; title=&quot;وصف &quot;> </a> <br><br> <a target=&quot;_blank&quot; href=&quot;رابط الموضوع&quot;> <img title=&quot;تصاميم&quot; src=&quot;http://www.shr-1.com/up//uploads/images/--bdr--320cac8576.gif&quot; alt=&quot;تصاميم&quot; style=&quot;border: 0px none; width: 450px; height: 300px;&quot;></a><a style=&quot;&quot; href=&quot;http://www.vb.aenhail.com&quot; target=&quot;_blank&quot;> </a> <br><br> <div class=&quot;smallfont&quot;><b><font size=&quot;4&quot;>تصاميم <font color=&quot;#FF0000&quot;>: حنين الشوق</font> </font></b> </div> </div> <!-- نهاية --> <!-- بداية --> <!-- END TEMPLATE: rmsh_fnews_temp_global_bit --><!-- BEGIN TEMPLATE: rmsh_fnews_temp_global_bit --> <div style=&quot;display: none;&quot; class=&quot;contentdiv&quot; id=&quot;slideshow&quot;> <a href=&quot;http://www.vb.aenhail.com&quot; target=&quot;_blank&quot; title=&quot;عين حائل &quot;> <span style=&quot;font-weight: 700; font-size: 14px&quot;>تصاميم </span> </a> <br><br> <a target=&quot;_blank&quot; href=&quot;رابط الموضوع&quot;> <img title=&quot;تصاميم&quot; src=&quot;http://www.shr-1.com/up//uploads/images/--bdr--fb7be6a5c0.gif&quot; alt=&quot;تصاميم&quot; style=&quot;border: 0px none; width: 450px; height: 300px;&quot;></a><a href=&quot;http://www.vb.aenhail.com&quot; target=&quot;_blank&quot;> </a> <br><br> <div class=&quot;smallfont&quot;><b><font size=&quot;4&quot;>تصاميم <font color=&quot;#FF0000&quot;>: حنين الشوق </font></font></b></div> </div> <!-- نهاية --> <!-- END TEMPLATE: rmsh_fnews_temp_global_bit --> </div> </div> <br> <!--Slider NUM--> <div class=&quot;pagination alt2&quot; id=&quot;paginate-slider1&quot;><a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 0); return false&quot;>1</a> <a class=&quot;selected&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 1); return false&quot;>2</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 2); return false&quot;>3</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 3); return false&quot;>4</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 4); return false&quot;>5</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 5); return false&quot;>6</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 6); return false&quot;>7</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 7); return false&quot;>8</a> <a class=&quot;&quot; href=&quot;#&quot; onclick=&quot;ContentSlider.turnpage('slider1', 8); return false&quot;>9</a> <a rel=&quot;2&quot; href=&quot;#&quot; style=&quot;font-weight: bold;&quot; onclick=&quot;ContentSlider.turnpage('slider1', parseInt(this.getAttribute('rel'))); return false&quot;>التالي</a></div> <!--Slider NUM--> </div> </td></tr></tbody></table> <script type=&quot;text/javascript&quot;> //Define: ContentSlider(&quot;slider_ID&quot;, [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext]) //ContentSlider(&quot;slider1&quot;) //OR ContentSlider(&quot;slider1&quot;, 3000) ContentSlider(&quot;slider1&quot;, 6000, &quot;&quot;,&quot;>>&quot;) //OR ContentSlider(&quot;slider1&quot;, 3000, linktextarray, &quot;Foward&quot;) //OR ContentSlider(&quot;slider1&quot;, &quot;&quot;, linktextarray) //OR ContentSlider(&quot;slider1&quot;, &quot;&quot;, &quot;&quot;, &quot;Foward&quot;) </script> <br> <!-- END TEMPLATE: header --> <!-- BEGIN TEMPLATE: navbar --> <!-- نهاية nlp_lxt v2.3.0 - By: NLP - كود code عرض الصور نهاية-->


طريقة التركيب install



+ انسخ الكود code وعدل عليه بالفرونت بيج بحيث تستبدل الصور والكلمات العربيه بما تريده انت

+ بعد التعديل الصق الكود code في اسفل الهيدر header او في اي مكان تريده انت





انتهى


واخيرا دعواتكم لي ولوالدي









التعديل الأخير كان بواسطة bdr-9; 10 - 07 - 2014 الساعة 04:22

ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)

الملفات المرفقة
http://www.traidnt.net/vb/images/attach/txt.gif كود عرض الصور بدون روابط تشعيبيه.txt (http://www.traidnt.net/vb/attachments/499012d1278723999-كود-عرض-الصور-بدون-روابط-تشعيبيه.txt) (11.2 كيلوبايت, عدد مرات المشاهدة 83 مرة)

http://www.traidnt.net/vb/images/attach/txt.gif كود عرض الصور بروابط تشعيبيه.txt (http://www.traidnt.net/vb/attachments/499013d1278724064-كود-عرض-الصور-بروابط-تشعيبيه.txt) (11.4 كيلوبايت, عدد مرات المشاهدة 79 مرة)


https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى