sch4tzji moderator
Number of posts : 129 Age : 37 Location : switzerland Registration date : 2007-11-18
| Subject: Scrollbars Tue Dec 04, 2007 3:11 pm | |
| Find the SCROLLBAR you're looking for then copy & paste it on or MEDIA that's all! Enj0y 'emRainbow Scrollbar (will slow down your site) - Code:
-
<script language="JavaScript"><!-- Scroll Surprise by kurt.grigg@virgin.netcolours=new Array('ff0000','fff000','00ff00','ffa500','ff00ff','00ffff','ffffff')function flash(){ var clrPos=Math.floor(Math.random()*colours.length)with (window.document.body.style){scrollbarTrackColor=document.bgColor;scrollbarFaceColor=document.bgColor;scrollbarArrowColor=colours[clrPos];scrollbar3dLightColor=colours[clrPos]; scrollbarHighlightColor=colours[clrPos];scrollbarShadowColor=colours[clrPos];scrollbarDarkShadowColor=colours[clrPos];borderWidth=2;borderStyle='solid';borderColor=colours[clrPos];}}if (document.all)window.document.body.onscroll=flash;//--></script> Flashing Scrollbar - Code:
-
<script language="JavaScript"><!-- Scroll Surprise by kurt.grigg@virgin.netcolours=new Array('ff0000','fff000','00ff00','ffa500','ff00ff','00ffff','ffffff')function flash(){ var clrPos=Math.floor(Math.random()*colours.length)with (window.document.body.style){scrollbarTrackColor=document.bgColor;scrollbarFaceColor=document.bgColor;scrollbarArrowColor=colours[clrPos];scrollbar3dLightColor=colours[clrPos]; scrollbarHighlightColor=colours[clrPos];scrollbarShadowColor=colours[clrPos];scrollbarDarkShadowColor=colours[clrPos];borderWidth=2;borderStyle='solid';borderColor=colours[clrPos];}}if (document.all)window.document.body.onscroll=flash;//--></script> Transparent Scrollbars - Code:
-
<style type="text/css">div {filter:chroma(color=#00FF00); /* here you are defining which color you want to be transparent in your scrollbars */scrollbar-arrow-color: #000000;scrollbar-face-color: #00FF00; /* transparent */scrollbar-3dlight-color: #00FF00; /* transparent */scrollbar-darkshadow-color: #00FF00; /* transparent */scrollbar-highlight-color: #000000;scrollbar-shadow-color: #000000;scrollbar-track-color: #00FF00; /* transparent */}</style> Remove all Scrollbars - Code:
-
<body scroll=no> Remove Horizontal Scrollbars - Code:
-
<body style="overflow-x: hidden"> Remove Vertical Scrollbars - Code:
-
<body style="overflow-y: hidden"> Customized Scrollbar - Code:
-
<style type="text/css"><!--BODY {scrollbar-face-color: #FFFFFF;scrollbar-shadow-color: #FFFFFF;scrollbar-highlight-color: #FFFFFF;scrollbar-3dlight-color: #FFFFFF;scrollbar-darkshadow-color: #FFFFFF;scrollbar-track-color: #FFFFFF;scrollbar-arrow-color: #FFFFFF;--></style> Scrollbar Color - Code:
-
<script><style><!--BODY{scrollbar-face-color:#FFFFFF;scrollbar-arrow-color:#FFFFFF;scrollbar-track-color:#FFFFFF;scrollbar-shadow-color:#FFFFFF;scrollbar-highlight-color:#FFFFFF;scrollbar-3dlight-color:#FFFFFF;scrollbar-darkshadow-Color:#FFFFFF;cursor:CURSORTYPE;}--></style> Scrollbar on Left Side - Code:
-
<body ONCONTEXTMENU="return false" dir="rtl"><DIV DIR="LTR"> Scrollbar For Subscriptions - Code:
-
<script type="text/javascript">// original by EasterEgg, xanga.com/easteregg// modified to reflect xanga's current html schemasfunction adjustSirListHeight(){// *** define the height of your SIR-list in the line below var sirListHeight = '300px';var allTables = document.getElementsByTagName('tbody');for (i=0; i < allTables.length; i++){if ((allTables[i].innerHTML.indexOf('Sites I Read') != -1) &&(allTables[i].innerHTML.toUpperCase().indexOf('<TABLE') == -1)){sirlist = allTables[i].lastChild;temp = sirlist.firstChild.innerHTML;sirlist.removeChild(sirlist.firstChild);td = document.createElement('td');div = document.createElement('div');div.style.width = '190px';div.style.height = sirListHeight;div.style.overflow = 'auto';div.innerHTML = temp;td.appendChild(div);sirlist.appendChild(td);break;}}}if (navigator.userAgent.indexOf('Mac') == -1)if ((document.URL.indexOf('weblogs') == -1) && (document.URL.indexOf('guestbook') == -1) &&(document.URL.indexOf('events') == -1) &&(document.URL.indexOf('reviews') == -1))adjustSirListHeight();</script> Scrollbar for profile module - Code:
-
<script type="text/javascript">function adjustSirListHeight(){ // *** define the height of your SIR-list in the line below var sirListHeight = '120px'; var allTables = document.getElementsByTagName('tbody'); for (i=0; i < allTables.length; i++) { if ((allTables[i].innerHTML.indexOf('Profile') != -1) && (allTables[i].innerHTML.toUpperCase().indexOf('<TABLE') == -1)) { sirlist = allTables[i].lastChild; temp = sirlist.firstChild.innerHTML; sirlist.removeChild(sirlist.firstChild); td = document.createElement('td'); div = document.createElement('div'); div.style.width = '190px'; div.style.height = sirListHeight; div.style.overflow = 'auto'; div.innerHTML = temp; td.appendChild(div); sirlist.appendChild(td); break; } }}if (navigator.userAgent.indexOf('Mac') == -1) if ((document.URL.indexOf('weblogs') == -1) && (document.URL.indexOf('guestbook') == -1) && (document.URL.indexOf('events') == -1) && (document.URL.indexOf('reviews') == -1)) adjustSirListHeight();</script> Bloring Scrollbar - Code:
-
<script type="text/javascript">function adjustSirListHeight(){// *** define the height of your SIR-list in the line below var sirListHeight = 'NUMBERpx';var allTables = document.getElementsByTagName('tbody');for (i=0; i < allTables.length; i++){if ((allTables[i].innerHTML.indexOf('Blogrings') != -1) &&(allTables[i].innerHTML.toUpperCase().indexOf('<TABLE') == -1)){sirlist = allTables[i].lastChild;temp = sirlist.firstChild.innerHTML;sirlist.removeChild(sirlist.firstChild);td = document.createElement('td');div = document.createElement('div');div.style.width = '190px';div.style.height = sirListHeight;div.style.overflow = 'auto';div.innerHTML = temp;td.appendChild(div);sirlist.appendChild(td);break;}}}if (navigator.userAgent.indexOf('Mac') == -1)if ((document.URL.indexOf('weblogs') == -1) && (document.URL.indexOf('guestbook') == -1) &&(document.URL.indexOf('events') == -1) &&(document.URL.indexOf('reviews') == -1))adjustSirListHeight();</script> Automatic Scrollbar I - Code:
-
<style type="text/css">.custom{width:145px; height:270px; z-index:100; overflow: auto; border: none; background:transparent; }</style><script>var tds = document.getElementsByTagName ('a');for (var i = 0; i < tds.length; i++) {timeString = tds[i].innerText;if(timeString.match(/\d+:\d+ [ap]m\b/i)){if(!tds[i].parentNode.parentNode.parentNode.parentNode.parentNode.tagName.match(/table/i)){break;} table = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;stuff = tds[i].parentNode.parentNode.parentNode.previousSibling.lastChild;inner = stuff.innerHTMLstuff.innerHTML="";stuff.insertAdjacentHTML('afterBegin','<div class="custom">'+inner+'</div>'); }}</script> Automatic Scrollbar II - Code:
-
/*Automatic entry scrollbar by Blogring.net*/.custom{width:450px; height:200px; z-index:100; overflow: auto; border: 0px none; background:; }/ Web Stats - Code:
-
<script>var tds = document.getElementsByTagName ('a');for (var i = 0; i < tds.length; i++) {timeString = tds[i].innerText;if(timeString.match(/\d+:\d+ [ap]m\b/i)){if(!tds[i].parentNode.parentNode.parentNode.parentNode.parentNode.tagName.match(/table/i)){break;} table = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;stuff = tds[i].parentNode.parentNode.parentNode.previousSibling.lastChild;inner = stuff.innerHTMLstuff.innerHTML="";stuff.insertAdjacentHTML('afterBegin','<div class="custom">'+inner+'</div>'); }}</script> Codes by Codes Inc. | |
|
Admin Admin
Number of posts : 294 Age : 35 Location : italy Registration date : 2007-11-17
| Subject: Re: Scrollbars Tue Dec 11, 2007 9:20 am | |
| tnx siz f0r sharing.. c0ol | |
|