Posts Tagged web

Clickable, Hoverable ExCanvas World Map

I was trawling through some old stuff recently and I found some useful javascript I’d created for a project that was never used. The requirement was to replace a flash based map component with something iPad friendly. I found an amazing plugin by Jon Combe called ExCanvas which rendered an entire zoomable, colourable world map through canvas. However, it didn’t fit all the needs of the project – we needed the ability to add tooltips.

I spent a couple of hours adding in code to generate an imagemap from the same coords which the canvas uses. This imagemap creates hover states for all the countries on the map.

hello world

The hacks, in brief:

  • added a countryNames array to the .js file
  • added a hoverable imagemap which implements the countryNames array
  • added some predefined zoom zones for regions like europe, north america, asia, pacific etc

Here’s a working example so you can see what I mean.

Never did get to use this, but it would be a shame to see it get deleted in some file cleanup, so I thought I’d better post it.

Tags: , , ,

Google Answers

Are piles the eight wonder?

Whoever asked number 5 is probably sitting at home all day asking google these things.

priorities…

I hope ALL of these questions are part of a job interview somewhere

Try and imagine one person asking all these questions in under a minute

So what have we learned from our Google Answers? It seems Google is most frequently used (in this country) by unemployed, bored women who are killing time between soaps by trying to get pregnant.

…and also idiots.

Tags: , ,

Black Google – Five Myths and Mysteries About Black Web Surfing

Some of you might have heard about this black google, here's some info on it.

http://www.treehugger.com/files/2007/08/ten_things_you.php

If you've no time to read it, it basically says that while old bulky CRT monitors save energy by going black, LCD monitors actually use a tiny bit more energy to display black. So if you have a CRT, you could save energy by going black, but you'd more likely save a ton more by going LCD.

Of course, you'd save a lot more just by setting the monitor to switch off after 5 minutes of activity, unplugging your computer/TV/DVD at night, unplugging your phone chargers, using CFL bulbs….

Tags:

the new piratebay logo

the new piratebay logo. I like it.

Tags:

More on flock

one thing thats consistently annoying me is when I blog from within flock, I can’t switch back to the window I opened the blog dialog from. Or indeed, any instances of flock. The blog window has focus over everything. I can still browse and select text in the background, but I can’t alt-tab the blogger window. I have to minimize it.

Also, I’ve specified in the options I want new tabs only, not new windows. but everytime I blog an entry it opens it in a new window.

Actually no, it opens the first blog I setup in it in the window, even if I wasn’t publishing to that one. I’m sure theres a setting in there somewhere to negate this, but its not obvious enough.

Tags:

More on Flock

it turns out that not only have almost all of the firefox extensions i use been ported already, theres also a service to ‘translate’ XPIs to work in flock!

The site notes that ‘This is under heavy development right now and may not work!’, but its nice to know its there


Tags:

Flock

There’s a new kid in town….

Flock is a free web browser that makes it easier than ever to share photos, stay up-to-date with news from your favorite sites, and search the Web. Take our tour to learn what’s different about Flock, then download the beta to get started – and please tell us what you think

I’m actually blogging this from within flock!

Honestly, it looks interesting, but I don’t know if I’ll be switching just yet. I’ve got a lot of firefox plugins on the go, and I doubt I could manage without them.

Here’s hoping flock compatible versions come out soon

Tags: ,

That PirateBay.Org is Down

Broadband co rang me yesterday to tell me they’ll be installing my 2mb on monday.

This morning PirateBay was raided by swedish police.

FUCK IT!

Its just not fair. I haven’t even been given a chance to download anything yet.

Tags: ,

ThingsThatSuck : wanky flash sites

A stunning revelation has just hit me: wanky flash sites suck balls

but allow me to elaborate.
Five years ago, they were confounding, almost magical.
Four years ago, they were very professional.
Three years ago, they were quite cool.
Two years ago, they were trendy.
A year ago, they were getting more common.

Now, they suck balls. Alright. Flash is impressive. Some people can use it, some people can’t. Some of those who can choose to use it to animate cartoons, to make really swish sites, to do funky effects such as page flipping, to make games or to make very professional looking sites. Some even use it to make working applications (such as visual networking tools etc.)

But there are some out there who choose to use their flash skills to create brainfuckingly complex wank-pieces. When did it become the norm for sites to be incomprehensible and ridiculously difficult to navigate? When did cryptic icons without explanation or labelling become okay? The internet is too vast and life’s too short to spend a whole minute waiting for an cryptic introductory flash movie to play, or figuring out which is the menu and what goes where.

Tags: ,