Easiest way to hide app in Ctrl+Alt+Delete Dialog
Only one line of code, and it works!
AI
AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
源代码
app.taskvisible = false
<html>
<head>
<title>Manipulating scrollbar colors using CSS and JavaScript</title>
<style>
<!--
BODY{
scrollbar-face-color:#8080FF;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#DDDDFF;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-Color:'';
}
-->
</style>
</head>
<body>
<p><b><font size="4">Manipulating scrollbar colors using CSS and JavaScript!</font></b></p>
<p>The thing about the default color of scrollbars is that it's dull and ugly.
Usually this color is gray. Wouldn't it be nice to change this color to better
fit the overall theme of your site? Luckily Cascading Style sheets and
JavaScript can be used to do just that!</p>
<p><b>Using CSS</b></p>
<p>In CSS, you would just add this code to the top of your page to customize the browser's
scrollbar colors: The great thing about CSS is that browsers that don't
understand it will just skip it, in this case, Netscape browsers.</p>
<p><font size="3" face="Courier" color="#008000"><style><br>
<!--<br>
BODY{<br>
scrollbar-face-color:#8080FF;<br>
scrollbar-arrow-color:#FFFFFF;<br>
scrollbar-track-color:#DDDDFF;<br>
scrollbar-shadow-color:'';<br>
scrollbar-highlight-color:'';<br>
scrollbar-3dlight-color:'';<br>
scrollbar-darkshadow-Color:'';<br>
}<br>
--><br>
</style></font></p>
<p>Play around with the different values!</p>
<p><b>Using JavaScript</b></p>
<p>I can use JavaScript to dynamically change the scrollbar color. This is
useful when I wish to do something more fancy, like alternating the scrollbar
from one color to another. The code required is:</p>
<p><font size="3" face="Courier" color="#008000">document.body.style.scrollbarFaceColor="colorname"<br>
document.body.style.scrollbarArrowColor="colorname"<br>
document.body.style.scrollbarTrackColor="colorname"<br>
document.body.style.scrollbarShadowColor="colorname"<br>
document.body.style.scrollbarHighlightColor="colorname"<br>
document.body.style.scrollbar3dlightColor="colorname"<br>
document.body.style.scrollbarDarkshadowColor="colorname"</font></p>
<p>A very good demonstration of this is a script written by Svetlin Staev, which
changes the scrollbar colors when you move your mouse over and out of it: <a href="http://www.dynamicdrive.com/dynamicindex11/scrolleffect.htm"><b>http://www.dynamicdrive.com/dynamicindex11/scrolleffect.htm</b></a></p>
<p>I'm seeing more and more sites customize the scrollbar color to blend in with
the rest of their sites. Hope ya find this tutorial useful in helping you do the
same!</p>
</body>
</html>
Upload
原始评论 (3)
从 Wayback Machine 恢复