SWF Object Generator

I have started to create a new version of the SWF Object Generator. The old one doesn’t look very nice, so I decided to make it a bit nicer.

Because the audience of this is mainly web developers, and all web developers shouldn’t be using Internet Explorer, I decided to totally not support internet explorer, and have fun with new CSS styles! (This is a very rare opportunity)

My version is based on the old one (copy/paste code, then modified) which means I have released it under the MIT license.

It still has has a lot of work to do (like adding javascript tooltips on the help messages).

A new way to vertically centre with CSS

I just discovered a new way to vertically (and horizontally) centre objects in CSS!

All it needs is 1 line of CSS (no dummy objects either!)

#theobject { position:absolute; top:0; bottom:0; left:0; right:0; margin:auto; }

After testing on all of my browsers, I tried it on browsershots.org, which lets you see screenshots of your webpage on many diferent browsers. You may have guessed, the only problem is that Internet Explorer ≤ 7 doesn’t support it (grr). The sort of good news is that Internet Explorer 8 (still beta) DOES support this, so this technique may be usable in the (hopefully not to distant) future.

You can view my test page.

DHD's 4th Birthday!

Today is DHD’s 4th birthday! (as the title says)

I haven’t done anything extra special to celebrate, other than give my website a much needed update:

 

 

Paparazzi!

Paparazzi is a very useful program for Mac that takes pictures of websites. This is much better than using keyboard shortcuts (command + shift + 4) because if the web page is longer than your screen (as usual), Paparazzi will capture the whole page as one image.

Paparazzi uses WebKit, so it will look the same as in Safari. This means that if you want to take a picture of something you must log in for, such as a wordpress control panel, you can!

You can download Paparazzi from www.derailer.org/paparazzi/.

Another reason why Facebook is better than MySpace

Look at this text from the MySpace profile editor page (I added boldness):

You may enter HTML/DHTML or CSS in any text field. Javascript is not allowed.
Do not use HTML/CSS to cover MySpace advertisements. 

Who wrote that? A real web-designer would know that DHTML and Javascript are the same thing. It also doesn’t say you can’t use “DHTML” to cover the advertisements (because they think it must be different to javascript :) ).

New Logo

I have decided to create a new logo:

The new DHD Logo

It will be often seen in interesting grunge/colourful/spacey designs like in my blog header, and this Flickr image I made with my old logo.

I think it looks a lot more professional than the old one:

The old DHD logo

(more…)

New Blog Design!

I have created a new design for my blog! I have also recently moved to my own hosted wordpress rather than blogger.

I created this theme totally from scratch, with valid strict XHTML and CSS. I also used jQuery Javascript Library to add nice little animations around the place (try the menus!). This idea was based on a NetTuts Tutorial.

The theme is not finished yet — the comments and post footers still look ugly. There are also a few different things I would like to do to make it a bit nicer.

If you would like this theme for your blog, sorry, I won’t be releasing it.

New Website (again!)

I now have another new website! … And a domain name!

You can visit my new website at DouglasHeriot.com!

The address to the blog has also changed — it’s now blog.DouglasHeriot.com.

(more…)

Webhosts

I currently have no webhost :(

That’s why the blog is looking bare – nobody is hosting my images.

Exphoster has been sold to some other guy. He claimed that he would continue Exphoster’s service but he hasn’t. He has stopped people from posting in the forums and hasn’t finished making the new website.

I have been looking for a new free webhost and have found a few I might use:

There aren’t many to choose from because I need PHP and MySQL and in the future my own domain.

200 views!

I have recently reached some milestones in Flickr. I have noticed that in the last 2.5 months (since I first got a Flickr gallery) there has been:

  1. 200 views of my “photo stream”
  2. 100 views of my iPod photo
  3. I have uploaded 50 photos
  4. I also have some other photos on 75 veiws, 52 views and others catching up.

If you want people to view your photos, I recomend that you join a few relevant groups and post some photos in them. I would tag your photos with anything you can think of that’s relevant but don’t use too many.