XHTML valid external links with mootools

W3C no longer include the target attribute of the <a> tag in HTML 4.0 Strict and XHTML 1.0 Strict document types . To make our links open new windows we will have to use Javascript, and with mootools it make this task very easy. Just add this snippet to the bottom of your html document and it will look for all external links on your page and add the target attribute to each of the links. $$('a[href^=http]').each(function(a) { if (wind [...]
(0) comments
Read more

The Guide To Life

The Guide To Life 1. Hope that the light at the end of the tunnel isn't a train. 2. Never spit into the wind. 3. Amateurs built the ark. Professionals built the Titanic. 4. A balanced diet is a cookie in each hand. 5. A closed mouth gathers no feet. 6. He who lives in a glass house should change in the basement. 7. He who throws dirt loses ground. 8. A mind is a terrible thing to waste, but a waist is a terrible thing to mind. 9. Never pl [...]
(0) comments
Read more

Update

Its been awhile since ive posted anything, just to let you know im still alive just very busy working on freelance projects. So hopefully over the next few weeks these projects will be completed and i will have a few nice mootool/php scripts i'd like to share, but untill then check out these links. frenden.com shauninman.com jefffinley.org tomdenney.com wized.net [...]
(0) comments
Read more

My new phone

I got a new phone!Sony Ericsson C905- 8.1Pix cam- GSP- WiFi- Radio- MP3 PlayerHeres a picture i took this morning. 3264 x 2448 Resolution.Today is rainy ... [...]
(0) comments
Read more

Animated css sprites with mootools

Adding a little extra to plain menus using javascript to animate changes insted of instant changes for mouse hovers. Most menu effects are easy to animate, I will show you how to animate a gradient for the background which would nomaly snap from top to bottom, to tween between these positions.HTML <ul id="menu"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li>< [...]
(3) comments
Read more

About

Welcome to my online portfolio and development site where i can share my developments and projects.

Ive been developing for 6 years working mainly with online applications and websites.

Download my CV or

Favorites

RSS Feed Subscribe
RSS or Atom
LastFM 3rd Jul, 2009 17:59
Godsmack – Voices
Twitter

25th Jun, 2009 11:18
Game theory ... http://xkcd.com/601/

17th Jun, 2009 10:40
death is milliseconds away .... http://bit.ly/UoX0v

15th Jun, 2009 10:42
xss web application security, nice monday morning read ... http://bit.ly/QSVsC

6th Jun, 2009 21:03
if you have half a mind you will have seen this if not, watch it .... http://www.zeitgeistmovie.com/

2nd Jun, 2009 14:29
sleeeeep ... http://bit.ly/iTFik


Copyright 2009 kd3sign.co.uk     Best viewed in Mozilla Firefox
hosted by Media Temple powered by CodeIgniter