• Detecting escape press in javascript Today for my University project, I was improving the overlay on my current site. I decided I wanted to add a slight extra bit of code so the user can close it by pressing the escape key. Below is the javascript code to use: $(document).keyup(function(e) { if (e.keyCode == 27) { // Close your overlays/divs […] Alex France
    0
    Comments
    April 25, 2013
  • 30 Day Challenge – Photo a day I have decided for my 30 day challenge I am going to take a photo a day on my iPhone. It’s not going to be arty, it’s just going to be relevant to something I have done on that day, or what happened. All the photos will be added to the gallery, linked below: Alex France
    0
    Comments
    April 25, 2013
  • Making Triangles with CSS Making Arrows with CSS Arrows are used all over the web but more often than not, they are created with small little png images. No doubt, this is a viable way to create them but I prefer to limit the amount of images to as small a number as possible on a site. So below, […] Alex France
    0
    Comments
    April 5, 2013
  • Word-Break CSS Property On a few rare occasions, user generated/produced content could be needed to fill a small text box, be it on a user profile or elsewhere on a site. I have seen once or twice, the text that fills these boxes sometimes overspill the box its in generally because of user error. Though, even if the […] Alex France
    0
    Comments
    April 4, 2013