http://www.aldewanonline.com/
ممكن السكرول بار الي بنص الصفحه في هذا الموقع
ممكن اعرف شلون طريقته
http://www.aldewanonline.com/
ممكن السكرول بار الي بنص الصفحه في هذا الموقع
ممكن اعرف شلون طريقته
__________________
------------------------------------------------------
نقل موقع بكامل قواعدة بدون شل او الأتصال بالمستضيف
..
.
افتح صفحة الhtml بواسطة اي محرر
وحط الكود هذا في اول شي
كود PHP:
<STYLE>BODY {
SCROLLBAR-FACE-COLOR: #cf0000; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #2e2f2f; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #919292; SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
</STYLE>
اذا كنت تستخدم ملف CSS افتح الملف وحط الكود باول شي بس بدون
<STYLE> XXX </STYLE>
![]()
__________________
.. rx0 @ hotmail . com
مشكور على ردك
بس هذا يعطي اللون بس انا ابي السكرول بار الي بالنص مجرد مرور موشر الفاره عليه يتحرك![]()
__________________
------------------------------------------------------
نقل موقع بكامل قواعدة بدون شل او الأتصال بالمستضيف
..
.
أخي " أشكال " ...
أنا خزنت صفحة الديوان .. وفتحتها بالفرونت بيج ( html ) ... ووجدت هذا الكود :
...كود:<SCRIPT language=JavaScript type=text/javascript> <!-- function checkBrowser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?2:0; this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.ns6) return this } bw=new checkBrowser() timSpeed=50 contHeight=100 function makeScrollObj(obj,nest){ nest=(!nest) ? '':'document.'+nest+'.' this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; this.height=bw.ns4?this.css.document.height:this.el.offsetHeight this.top=b_gettop return this } function b_gettop(){ var gleft=(bw.ns4 || bw.ns5) ? eval(this.css.top):eval(this.css.pixelTop); return gleft; } var scrollTim; var active=0; function scroll(speed){ clearTimeout(scrollTim) way=speed>0?1:0 if((!way && oScroll.top()>-oScroll.height+contHeight) || (oScroll.top()<0 && way)){ oScroll.css.top=oScroll.top()+speed scrollTim=setTimeout("scroll("+speed+")",timSpeed) } } function noScroll(){ clearTimeout(scrollTim) } function scrollInit(){ oScroll=new makeScrollObj('divScroll','divContent') oScroll.css.visibility='visible' } onload=scrollInit; //--> </SCRIPT>
وفي كود السهمين :
السهم الآخر :كود:<A onmouseover=scroll(4) onmouseout=noScroll() href="http://www.aldewanonline.com/#"><IMG height=21 src="AL Dewan Online_files/sahma.gif" width=27 border=0></A>
-----------كود:<A onmouseover=scroll(-4) onmouseout=noScroll() href="http://www.aldewanonline.com/#"><IMG height=20 src="AL Dewan Online_files/sahm2a.gif" width=27 border=0></A>
متأسف إني ما جربتها عشان أشرح لك إياها بالتفصيل الممل ... لكن إذا فضي أحاول فيها إن شاء الله ....
وأنصحك بالاصلاع على View Source ... لصفحة الديوان ..
أتمنى لك الخير
في أمان الله
انا فتحت المصدر بس ما بين لي شي
يالله وين الجواب
__________________
------------------------------------------------------
نقل موقع بكامل قواعدة بدون شل او الأتصال بالمستضيف
..
.
الجواب أخي الكريم .. هنا
اضغط هنا بس لا تنسى تدعي لي![]()
جزاك الله الف خير على النقل
بس لو تلاحظ هذا يحرك الاسكرول بار الاصلي مع النص
انا ابي بدون ما يتحرك الاسكرول بار الاصلي
ما زلنا
![]()
__________________
------------------------------------------------------
نقل موقع بكامل قواعدة بدون شل او الأتصال بالمستضيف
..
.
up
__________________
------------------------------------------------------
نقل موقع بكامل قواعدة بدون شل او الأتصال بالمستضيف
..
.
up![]()
__________________
------------------------------------------------------
نقل موقع بكامل قواعدة بدون شل او الأتصال بالمستضيف
..
.