[Starkit] styled version of tclkit download matrix

Uwe Koloska koloska at voiceinterconnect.de
Mon May 8 17:42:22 CEST 2006


Hello,

since my mozilla based browsers display a long dark block at the head of the 
tclkit download matrix and it is not easy to locate the right version in this 
heavily overcrowded table, I have made a somewhat stylished one:

  http://www.koloro.de/TclkitDownload/tclkit_downloads.html

The most important changes to the one at
  
  http://www.equi4.com/pub/tk/downloads.html

(besides the missing <html> tags) is the added style and javascript:

---------------------------------------------------------------------------------
<script src="stripes.js" type="text/javascript"></script>
<script type="text/javascript">
function nowarning () {
    if (document.getElementById) {
        document.getElementById("nojs").style.display = "none";
    }
}
</script>
</head>

<body onload="nowarning(); stripe('playlist', '#fff', '#edf3fe');">
<div id="nojs" style="display:block">
Please activate javascript to see nice guiding lines in the table!
</div>
<table id="playlist" cellspacing="0">
---------------------------------------------------------------------------------

the javascript code is from
  http://www.alistapart.com/articles/zebratables

and without javascript you can't see this nice guiding lines -- but a warning 
that says so ;-)

With this solution, whoever generates the matrix has not to change anything in 
the underlying script -- just add the header (and the closing tags at the 
end), provide the javascript and css files (or include it in the header)
  http://www.koloro.de/TclkitDownload/stripes.js
  http://www.koloro.de/TclkitDownload/tables.css
and voila -- a nice table that permits easy access to this huge amount of 
starkits.

I hope this is useful
Uwe Koloska



More information about the Starkit mailing list