Tired of crappy fonts in Linux? Take a look at the Font HOWTO, especially the bits about True Type fonts. The link to the Microsoft website works but the .exe files on offer don’t seem to be zip files, so just copy over the Fonts directory from your windows directory and follow the instructions in the HOWTO.
Monthly Archives: January 2002
I updated the code below after …
I updated the code below after talking to Ivan at WebKreator. It now works without opening a new window!
<body bgcolor="#FFFFFF" fgcolor="#000000" onload="javascript:endTime()">
<img src="" width=1 height=1 name="counter">
<script language="javascript">
<!--
var now = new Date();
var start = now.getTime();
function endTime()
{
var now = new Date();
var end = now.getTime();
timeToComplete = ( end - start ) / 1000;
alert( "this page took "+timeToComplete+" seconds to load!" );
document.counter.src="/icons/text.gif?time="+timeToComplete;
}
// -->
</script>
When it rains heavily in Cork …
When it rains heavily in Cork the roads flood. This morning the South Terrace flooded right across the road, even to the “high” side of the road! Apparently someone canoed up the road earlier in the morning – that was probably who put the bollards up!
I guess it was to be expected, publicans’ fury over Martin’s smoking ban makes it to the Examiner. Our health minister is going to ban smoking in pubs.. wooo!!! Go Micheál!
The new Netcraft survey for Ja …
The new Netcraft survey for January is available. Apache is up a small bit, IIS is down by small bit bigger bit.
I read an interesting article …
I read an interesting article on How to detect long page loading times with Javascript at Web Kreator but it didn’t include any code. I tried various methods, including using document.write
to create an image at the end of my document but that didn’t work with cvsbook.html (a 600K+ or so html document).
So I decided to open a small window and close it quickly. Look through your log files for “icon.gif?time=”, and replace that with a script that records this info to a database or somewhere.
It works on a LAN, but I suspect on an Internet site you’d want to have the window.close() call in the new window, and not the opening window.
<body bgcolor="#FFFFFF" fgcolor="#000000" onload="javascript:endTime()">
<script language="javascript">
<!--
var now = new Date();
var start = now.getTime();
function endTime()
{
var now = new Date();
var end = now.getTime();
timeToComplete = ( end - start ) / 1000;
alert( "this page took "+timeToComplete+" seconds to load!" );
wn=window.open("/icons/text.gif?time="+timeToComplete,'_blank',
'width=1,height=1,toolbar=no,location=no,directories=no,'+
'status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,screenX=0,screenY=0'
wn.close();
}
// -->
</script>
Redmond, Wash. – In a surprise …
Redmond, Wash. – In a surprise settlement today with nine U.S. states, Microsoft agreed to be split into two independent companies – one that will continue to make Microsoft operating systems, browsers, and server software, and another, potentially larger company that will make patches for Microsoft operating systems, browsers, and server software.
Ah! Nostalgia! For a college p …
Ah! Nostalgia! For a college project I coded a Breakout/Arkanoid clone in second year. Here’s a much better one! Lbreakout2.
D'you read slashdot then? D'yo …
D’you read slashdot then? D’you remember when it was Rob Malda’s personal homepage? You need to quit slashdot.org today!