Tag Archives: javascript

Site Seeing — Week Four

Google Font Directory http://code.google.com/webfonts Bit late to the party with this one, but the Google Font Directory has some great open source fonts that can be included in your webpages incred­ibly eas­ily. They host the whole solu­tion and it’s a few basic lines of CSS to get some fancy fonts on your site. My per­sonal favourites […]

Fullscreen HTML5 Video in Safari via JavaScript

In Safari 5 HTML5 videos played in the <video> tag can now be made full­screen, if you’re using the default con­trols then a but­ton is avail­able, but if you’re over­rid­ing them with a cus­tom con­trol you can use: web­kit­En­ter­Full­Screen(); This needs to be called on the video tag ele­ment, for example, to full­screen the first video tag on […]

Last.fm Disco!

Go on last.fm and paste the fol­low­ing into the address bar: javascript:function toggle(){ t=setTimeout(“toggle();return false”, 300); LFM.Display.colourToggle(this, LFM.String.toRedStr, LFM.String.toBlackStr); return false;}; toggle(); return false; and hit return! (However, It seems to go a bit weird if you’ve got mul­tiple browser windows open..)