Quarter Life Crisis

The world according to Sven-S. Porst

« Retro ComputingMainDoing, Doing, Done »

Changes

485 words

I made a couple of changes to this page. The first one is both the - in my opinion - coolest but also probably most dodgy one: I added a link saying links only in the Me section of the navigation bits. Do not click it before finishing to read this. The idea behind this is that it loads a different CSS to hide all text except links to external sites. This way I can finally use the blog as a kind of bookmark scrapbook, like I've wanted to for a while but there seems to be no other (easy) way to do it.

Unfortunately there are a couple of issues with this. Firstly, it uses JavaScript, which I have a very low opinion of, to load the additional styles needed. Secondly, it doesn't work reliably. It works just fine in Chimera (and thus also Mozilla and Netscape, I suppose), it doesn't work at all in either of Internet Explorer (Mac) or Safari though. Both of them will not display the links only version in the way I'd like them to. The bad news is that Safari will also crash in the process - that's why I warned you earlier on.

The bad display of the links only page may be due to my ingenious - or not-so-ingenious - use of stylesheets. My first idea was to use something along the lines of

.content>p {display:none;}
.content>p a {display:block;}

which - I hoped - would handily hide all the text but display the links, each in a line of its own. The result, however, was that nothing got displayed at all. I assume that this is the correct behaviour as of course displaying a sub-element of something that isn't shown isn't really possible. Thus I had to go for an inferior solution along the lines of:

.content>p {font-size:0px;}
.content>p a {display:block;font-size:12px;}

Of course this should fail for browsers using a minimum font size but I am not aware of either Safari or Internet Explorer having this kind of option. I assume my solution isn't very good - but as it is something I really wanted to have, I just went and did it. If you know of better ways to achieve this, please let me know. The second change was adding the Reading link section. The third, making the logo at the top right a div with a background image rather than an image as well as using a graphic of the proper size so it looks properly in Safari. Fourthly I did a bit of cleaning up, nothing serious, though. I'd still like to add a 'search' feature. I'll have to look into how search is done in Movable Type as having an integrated search is probably better than just using Google. Then I'll also have to make the archive and category pages contain the new features of course.

January 19, 2003, 3:53

Add your comment

« Retro ComputingMainDoing, Doing, Done »

Comments on

Photos

Categories

Me

This page

Out & About

pinboard Links

People

Ego-Linking