Notes on a web journey

posted on: 30 March 2005

Small adjustements

filed under: @ 10:09:10

The random quotes are back again.

Also, fixed a few bad links and the Javascript code for the random quotes adding a check that avoids error alerts.

This post on Simon Willison site poses an interesting problem that I have encountered already many times.


posted on: 27 March 2005

PHP menu and tags replacer

filed under: @ 17:46:30

I have published the PHP code of my menu. The idea behind it was to have a menu that can be updated from a single file otherwise every change would mean re-pulish the whole site. The file can be used only on PHP pages, I still have some static XHTML ones and those I have to manually update and re-publish but it's a small percentage. The code could be streamlined since I repeat the same process four times but that's due to the fact that I want the menu to look the way it does and I don't know another way to float the links like that except coding each category in its own unordered list.

I also published a page that enables a user to paste a piece of code and get all the “<” and “>” symbols replaced by entities (&lt; and &gt;) so that it then becomes readable and can be published since the browser does not try to interpret it as active code. I find it useful and it definitely saves a lot of time.


posted on: 22 March 2005

Pop up menu

filed under: @ 14:36:13

As I said, I'm back online (even if with a few glitches..) and I have published the pop-up menu on the studies page.

It is very simple, the mark-up is valid XHTML and the CSS that I use for the layout can be changed to anything else. The menu works with Javascript-disabled/CSS-enabled, Javascript-enabled/CSS-disabled, Javascript and CSS disabled.


posted on: 17 March 2005

Clearing of floats

filed under: @ 09:28:04

Interesting article about clearing of floats on Mezzoblue.

This is the “old” way.


posted on: 12 March 2005

Awaiting for a phone line and Javascript menu

filed under: @ 10:56:14

I'm still waiting for the phone line...

I just came up with a new Javascript powered menu for a friend. I will post about it in the “studies” category whenever I have a Internet connection again.


posted on: 04 March 2005


filed under: @ 10:45:53

I am done moving but I still have no phone line so...I'm checking emails from public Internet places .

The spam has a way of getting in the way. On my computer I got all the message rules set up to move all known addresses to the respective folders and leave the spam in the inbox (the server that hosts my work web site doesn't allow me to set up anti spam filters) but from a public place I just have to go through each email and delete spam until I'm left with only the proper emails. A lenghty and boring process.

Hopefully I will get the phone line connected soon..


CSS,Javascript and Php studies

Anti spam email
A solution to writing an anti spam email contact link
filed under: Javascript
Background image
A background image randomizer that I used in the second version of this site.
filed under: Javascript/CSS
Javascript menu
A menu that uses Javascript and session cookies.
filed under: Javascript/CSS
Experimenting with CSS and Javascript.A simple but, in my opinion, nice navigation “system”. The MiniSite is a one page site.
filed under: Javascript/CSS
Photo display
Protect copyrighted photos: a simple but effective solution.
filed under: Javascript/CSS
Photo gallery
A photo gallery made for a friend
filed under: Javascript
PHP menu
A PHP menu that can be updated without having to re-publish all the pages is on.
filed under: PHP
Pop-up menu
A very simple pop up menu powered by Javascript. It works also if Javascript is disabled.
filed under: Javascript/CSS
RSS feed
How to write and use an RSS feed
filed under: rss-xml
Tag replacer
The Tag replacer explained and a link to it.
filed under: PHP
Tags search
A search form build and powered using Javascript and the DOM
filed under: Javascript