I suggest you use the css theme, so for this you need to go to the css file. But you can do it with jQuery.
<script src="../../Scripts/jquery-1.5.1.js" type="text/javascript"></script> <script> $().ready(function () { var color = $("body").css("backgroundColor"); if (color == "...") $("body").css("color", "..."); }); </script>
this is just a simple solution, if you really want it, it would be nice to set the event in the background.
hope that helps
dknaack
source share