Considering how regularly new versions of Firefox now come along, that's quite some bug fix list in version 10! http://t.co/K3I2vLpW 1 week ago


30th
Sep 08

Browser Sizes



Now, without going into the wrongs and rights of it all, most of my websites follow a familiar theme of being a set width. This blog, even though it’s WordPress, is, as is BMTG and Copy+.

This width is designed to fit on the width of what I deem to be the smallest screen that a reasonable number of people are using (on PC’s – not going into mobile phone handsets and the such). That size, in my belief, is 800×6001- the initial Asus PC’s, which sold so well this year, were exactly that.

However, the width I’ve been using has been very much a “finger in the air” affair – so much so, that the appearance of a vertical toolbar causes the horizontal one to appear in some cases. Yep, I got it wrong.

I’ve therefore, recently, been doing some research – I wrote a JavaScript program to display the current browser size, and display a horizontal bar in varying lengths. This allowed me to work out how much “real estate” the browser was using up – e.g. launch IE7 and it takes up 21 pixels horizontally. That means whatever your screen size is set to, the web page will 21 less to play this. In fact, IE7 was the worst offender (along with IE6), so that’s become the benchmark2- 779 pixels.

Firefox uses 17 pixels and Opera, well, god only knows – I got strange results. Without a vertical scrollbar, it took up (strangely) 1 pixel horizontally. However, introduce the scrollbar and it took up – the same. It would allow my image to be 799 pixels wide and not bat an eyelid. Make it 800 though and the scrollbar appeared. Why this happened I honestly don’t understand. But I’ve tried a 779 wide page and that works, so Opera is certainly not using up more than the “magic” 21 pixels.

Konqueror uses 19 pixels and Safari (on Windows) is the slimmest at just 15 pixels.

The Copy+ site has already been converted to this new width, and the BMTG site will be soon too.

  1. according to Google Analytics this was the 5th most popular resolution used by visitors to the BMTG site []
  2. IE does something that the other browsers don’t – it has a permanent horizontal scrollbar. So whether it’s needed or not, it’s there using up the same amount of space all the time. []

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



30th
Sep 08

Crashing around my ears


I’m struggling with a Foxmarks problem – I’ve become pretty dependant on this useful utility synchronising my Firefox bookmarks. After sorting out an initial problem it’s now working until the point that I add a new bookmark. Then I get a bizarre error…1

[2008-09-29 17:42:43] Exception in AcceptNodes: Error: Places error calling function untagURI() {
[native code]
} with args [{}, [""]] Original error: [Exception... "'Illegal value' when calling method: [nsITaggingService::untagURI]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://foxmarks/content/foxmarks-places.js :: Call :: line 100"  data: no]
[2008-09-29 17:42:43] Returned error: Synchronization error(3)
[2008-09-29 17:42:43] Will retry at Mon Sep 29 2008 18:12:56 GMT+0100 (GMT Standard Time)

Weird. Anyway, I’ve emailed Foxmarks now – I hope this gets sorted out.

But, hey, as much as that made me tear my hair out last night, that’s nothing to the feeling of loss when I woke up to find my internet access missing! I’ve a red light on my modem against “Internet” (but a green against “ADSL”). I’ve rang my ISP and they’ve run some tests – it’s either the modem or a BT line fault. They want to check the former before logging a fault with BT and I’m work now. So it’s an evening job… all without my internet access. How will I cope :p

  1. bizarre in that I can’t find anyone else who’s had it []

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



29th
Sep 08

WordPress Updates


You’d think I enjoyed dabbling with my WordPress theme and plugins wouldn’t you ;)

Ok, yes, of course I do. It’s great fun.

The smiley above is one such change, as I updated my “smiley pack”. I’ve also introduced the calendar which you can see at the beginning of each post. The way to do this is relatively easy (assuming you know your CSS and a bit of PHP). At first I had an iPhone style background for it, but after a scourer of the ‘net, I came across this more suitable dark version. Very nice, and I chose a text colour to match (it was white before and looked obviously stuck over the top).

The menu at the top has recently changed, to include some popular categories, and the sidebar had a refresh a while ago.

And, thanks to Tony, I’ve now added footnotes1.

Finally, I’ve settled into Twitter and am now happy to say what plugin I’m using for that! I kept swapping at first as I tried various Twitter plugins, all of which didn’t work quite how I wanted. I wanted two pieces of functionality – to be able to inform Twitter of a post and to be able to display my latest Twitter – and thought I’d have to have two plugins. In the end, though, I cam across Twitter Tools which does both and has all the functionality that I wanted. Perfect.

Not WordPress related, but whilst on the subject of Twitter, I also experimented with Firefox plugins – TwitterFox ended up the best of that bunch (I wanted a simple way to post Twitters from my browser, and one that didn’t fowl up through my works proxy and firewall).

However, as much as I’ve plugged into my blog, I’ve also taken out – there were quite a few functions that I simply wasn’t using. It’s also keeping this installation as lean as possible – thanks to the shoddy speed of my hosting I need all I can get. As soon as I can scrape some money together I’m off to Memset (yes, yes, I keep promising that I know).

  1. and this is an example []

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly