Articles

Page 5



  • A Responsive Image jQuery Plugin

    🕑1 minute read
    There are a whole variety of ways that responsive images can be accomplished, but as of yet there is no perfect way of doing it without using a combination of .htaccess, javascript and css. My solution is no different and uses JavaScript (in the form of jQ...

  • Creating a chrome extension that uses jQuery to manipulate the DOM of a page

    🕑3 minute read
    There are plenty of tutorials and guides on how to make a chome extension and there are hundeds for jQuery manipulation of the DOM. There are also a few about using jQuery in a chome extension, but only for the popup window. There seems to be a lack of usi...

  • Flipping a UIImage

    Flipping an image using objective-c is so easy once you know how... That's it! Now to have it as an method we can use more conveniently, try this: Then we can send any image to it and it will return a flipped version....

  • Basics of the NSNotificationCenter

    🕑2 minute read
    The uses of NSNotificationCenter can be many; It is handy for using to notify the app that a background download of data, a post of some kind is done, or some calculation is finished. It can also be useful for letting sub views know when some root level fu...

  • Preventing unstyled content before jQuery loads

    🕑1 minute read
    jQuery is a very powerful tool but because of it's size it can be quite slow to load, and on some older devices it can also be slow to "boot up" and become ready for action (I'm looking at you iPad/iPhone!) Why is this a problem? In my case the problem i...

  • Text Selection Color

    A lesser know property of CSS3 is the selection property. This allows you to change the properties of text when selected so you can highlight it in any way you want This sentence should highlight in black. And this in red. Don't forget that some browsers...

  • Turn off Chrome's textarea resizing

    🕑1 minute read
    When building forms for websites, much time can be spent making sure that all the elements fit together in a nice way, all lining up and looking neat. So then along came Google's Chrome browser and with it came the ability to drag resize a text area to any...

  • Forcing iOS phone numbers to link on a webpage

    If you ever wondered how to remove the auto phone number conversion on web pages then look no further. Just place this in the head of your document and all should be OK....

  • Django Apps on MediaTemple and main.fcgi error

    I was having had an issue with Django on my MediaTemple hosting and the urls being affected by a certain main.fcgi. It happened a while back, and then again recently so I decided to share the solution I found. Simply add the following to your settings.py ...

  • ie6 double float margin bug

    Here is the quickest fix I have found for fixing the ie6 double float margin bug, where all margin values are doubled on floating elements. Just apply: And the element float will be rendered as expected. Go figure...Thanks to http://www.positioniseveryth...