subscribe feed

Archive for May, 2006

One thing I hate about Hollywood…

Wednesday, May 31st, 2006

Cash ins.

Straight to DVD, need I say more ?

i'll always know what you did last summer

Websites as graphs

Tuesday, May 30th, 2006

Phil recently sent me a link to, and recently blogged about a little applet that displays websites as images or “graphs” as it puts it. This little applet can be viewed here : http://www.aharef.info/static/htmlgraph/

Mine looks like this :-

douglasradburn.co.uk as graphs - websitesasgraphs

Google Search Results

Tuesday, May 30th, 2006

I’m always amazed by little things I find out about Google. Take for example the ’search within results’ at the bottom of the page. I think I’ve missed this one as I have it set to 100 results and rarely scroll below half the page. How long has it been there ?

Bloody Police

Tuesday, May 30th, 2006

Okay, I wont go into too many details, but I (well Naomi) phoned the police twice this weekend. Once for the theft of a gate from a neighbour… thats right, someone nicked the WHOLE gate… and secondly some kids throwing bricks at a window trying to break in!

We are still waiting to have a bobby turn up at the door, as this has been promised on both occasions.

Due to some recent crime in the area (next door but one got burgled about three weeks ago), I’m understandably dubious of the police’s efforts. Okay, I know its not a massive priority, but what happened to ‘zero-tollerance’ ?

Gallery #2

Saturday, May 27th, 2006

Because Pixx has been on at me all weekend… thus far… (cheers, it appears I actually got something done because of it!) … the gallery is now up! Its a bit brief at the minute, with only three sections, but you’ll find it on the right hand side below the links section. Someone remind me next time I change styles to add all the links back in as it took me a while to edit the theme.

Gallery

Wednesday, May 24th, 2006

I’ll hopefully be putting up a gallery tonight, using the same technology as the gallery for work. I’ve been taking a bit of photography for work (including the pebbles photo that is now my banner, thats an original Radburn!), so I want to link that through to my portfolio – but I also have pictures from uni, days out and guild meetings that I’d like to put up on the site for people to see.

But you know how good I am with ‘plans’…

Pixx

Wednesday, May 24th, 2006

Shout out to Talth, you are now snuggled up on my links list :)

$100 Laptop

Wednesday, May 24th, 2006

$100 laptop
Was rather amused by this recent image of (one of the styles of) the new $100 laptop.

I was intrigued by the guy in the background… why doesn’t he just buy a real macbook ? Or atleast put the stickers on straight :P

The $100 Laptop project is an idea to market laptops (yes, costing just $100) to third world countries (primarily) to promote the use of technology. The idea is, governments can purchase laptops in bulk and divi them up to schools and educational facilities across their nation. More info can be found here laptop.org

Themes

Tuesday, May 23rd, 2006

I’m playing about with themes, so my appologies if things look a bit different, and things are bound to change when I find a ‘better’ one :)

Mouse on page…

Tuesday, May 23rd, 2006

If your name is Scott, you’ll know that i’ve been having issues during the past week with some javascript that would take the x,y coords of the mouse, on the screen and then redirect to a php script with the x,y in the GET.

Needless to say, I had issues. But I think I’ve cracked the nut now. What I have:


<script language="javascript" type="text/javascript">
<!-- Begin
var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSECLICK)
document.onclick = getMouseXY;
function getMouseXY(e) {
var tempX = 0;
var tempY = 0;
var continue1 = true;
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.documentElement.scrollLeft;
tempY = event.clientY + document.documentElement.scrollTop;
}
else { // grab the x-y pos.s if browser is NS
tempX = e.pageX;
tempY = e.pageY;
}
tempX = tempX-8;
if (tempX <0){continue1 = false;}
if (tempX > 1000){continue1 = false;}
tempY = tempY-129;
if (tempY <0){continue1 = false;}
if (tempY > 1000){continue1 = false;}
if (tempX < 0){tempX = 0;}
if (tempY < 0){tempY = 0;}
if(continue1 != false){
//alert(tempX+', '+tempY);
window.location="./whichpixel.php?co="+tempX+","+tempY;
}
}
// End -->
</script>

It seems to be doing the job fine at the moment. It needs to limit the area to a 1000px by 1000px image, thus all the 1000 etc and the offset of the image on the page…

One of my big problems was getting the mouse position on the page, document as a whole, rather than the screen. Thus, if someone scrolled I was screwed. Adding document.documentElement.scrollLeft; and document.documentElement.scrollTop; to the x, y of the mouse coords respectively sorted this.

Due to the document.onclick = getMouseXY; it isn’t called, and is just loaded in the <head>

Let me know if its crap, as I built it rather hap-hazardly…

Copyright Douglas Radburn – douglasradburn.co.uk © 2010
Theme Author: MascaraDesign - Community based WordPress theme.