To make life easier this site has been walrss'd - click here to visit http://porkandpaws.walrss.com

obtrusive Unobtrusive Javascript

Friday, February 23rd, 2007

Whilst working this morning I wrote this piece of javascript for unobtrusively changing a parent window location from a clickable map


function map()
{
if (!document.getElementsByTagName) return false;
if (!document.getElementById) return false;

var mapLinks = document.getElementsByTagName(”area”);
for (var i = 0; i < mapLinks.length; i++)
{

if(mapLinks[i].className==’getform’)
{

mapLinks[i].onclick=function()
{
var destination= this.getAttribute(’href’);

openform(destination);
return false;
}
}

}

}

function openform(destination)
{
this.opener.location.href=destination;
this.close();
return false;

}

But it just occurred to me is this, although unobstrusively written, obtrusive to control other windows? Is this accessible (would a screen reader be notified ?)
I think I need to check before I unleash this.

Technorati Tags: , , ,

Is the pack stirring?

Monday, February 19th, 2007

I notice from my trawl of blogs a link to Britpack.org I have always found britpack links at Malarky’s excellent site
Malarky’s excellent site is it just me or is movement afoot?

Maybe it’s in anticipation of this years SXSW and the great British invasion …?

Technorati Tags: , ,

A little late

Saturday, February 10th, 2007

A little slow I know but the blog is now running WordPress 2.1 “Ella”.
This is really a test post to annouce this and checkout the functionality and plugin support.

Extremeley impressed with the ease of update.

This post also announces the start of this blogs design project ..
I feel it is not correct to rely on others code or design although this is a fantastic N-Design creation I should go it alone as it were so I have dedicated some time to kickstart the project. Look out for future updates.

Technorati Tags: , ,

WebDD

Sunday, February 4th, 2007
Feb 3, 2007 by

★★★★★ Back safe and sound after webDD. Good event in my eyes I was particularly taken by the microformats talk by Glenn Jones of Madgex and the Ruby on Rails and unobstrusive stuff by Dave Verwer.

Hats off to Dave for doing demos during the presentation (always a brave move).

Apart from Ruby these were areas I am confortable with and trying to ensure I incorporate in my web design and development as default. I of course picked up some tricks not just from these two guys but Patrick Lauke also. I think my semantic markup still needs a bit of work.

The other sessions were good that I attended but would have like to have been able to go to them all as I have previosly said. I think the schedule meant that I missed some sessions that were good as well.

Overall good I would attend again

Technorati Tags: , , ,