Category Archives: JavaScript

CSS3 media queries with dynamic viewport width

I’ve only recently started using CSS3 media queries in order to target mobile devices, but I found it so easy I wondered why I hadn’t got around to it before. Essentially it boils down to something like this inside your … Continue reading

Posted in Drupal, JavaScript | Leave a comment

Twitter fixes dangerous link exploit

Twitter today was hit by a wave of Tweets exploiting a bug in the way it handled URLs. Twitter have just fixed the issue, which previously could be exploited simply by posting a URL of the form:”onmouseover=”javascript:alert(‘test’);”/ Of course, … Continue reading

Posted in JavaScript | Tagged , , , | Leave a comment