Powerbook G4 will not turn on
I was given an old Powerbook 15″ aluminum version, which I used a few times, then left idle for several months. When I got it out again, I plugged in the power cord, which did
Continue readingSolving technology problems, one at a time
I was given an old Powerbook 15″ aluminum version, which I used a few times, then left idle for several months. When I got it out again, I plugged in the power cord, which did
Continue readingWell they’ve finally done it – made a computer I can afford to buy my parents, who need one even if they don’t know it! One weird thing – I could have sworn that on
Continue readingI was having trouble writing a javascript that sniffs the browser for IE or non-IE, then selects a server side include (SSI) based on the result.
It turned out that you cant do that with javascript: first of all it seems to mis-read the include string:
document.write('<!--# include virtual="includes/safety.htm" -->');
The browser sees this as comment and lops everything off after the (‘ even though the string has quotes around it. If I use a to escape the ! as !, then it simply writes the whole string out to the page, rather than interpreting it.
Apparently this is because SSI’s are evaluated on the server, so they are already executed before the browser renders the page – so by the time my page gets rendered, it’s too late.
Continue readingI have a series of five flowcharts in a tabbed layout, one flowchart per tab (seem to be doing tabs a lot lately). I wanted the user to be able to click a link on another page, and have the flowchart page open to the correct flowchart layer. A working example is here:
Switch layers on the next page by clicking a link
When I tried setting the value of a variable on the new page, it worked in some browsers but not others, probably because some computers are slower at loading pages than others, and the necessary layers would not be loaded in time for the variable to have something to populate.
Continue reading