Loading Gif

Blog

The mumbleings of the Pixel Ninja

  • blog-header
    07Apr2015

    How to change the color of placeholder text within input elements using CSS

    Ever wanted to change the color of the text that’s added to an input field when you add the attribute placeholder=”some text” ? Well read on my friends! When I first tried to change the placeholder text color I assumed like thousands or others did that simply changing the CSS for the color of the input would do the ...

    Read more
  • blog-header
    30Mar2015

    How to run a function after window resize using jQuery

    The Problem There are many times when I come across the need to run a javascript function after a user has actually finished resizing the window and not during the resize process. Maybe its a particularly resource heavy function for example, and calling this function in the traditional way using $(window).resize(); will result in the function being called multiple ...

    Read more
  • blog-header
    10Feb2015

    How to check if your server is 32 or 64 bit using PHP

    Heres a little script I find useful for working out if your server is 32 bit or 64 bit. I know you should know that already but sometimes its harder to work out than you think. Especially if you are using cheap hosting or the like. The PHP //work out if a server is 32 or 64 bit function get_server_bit(){ $int = \"9223372036854775807\"; $int = ...

    Read more
  • facebook-code-header
    05May2013

    How to test if your facebook page tab is using https or http protocol using php

    I spent hours the other day searching and searching the facebook SDK documentation for the ability to detect the dreaded https mode in facebook custom tabs. Anyone who has tried to find anything useful or up to date in the Facebook docs will know how hard it can be to find anything of use on the facebook developer pages. After ...

    Read more
  • jquery scrollbar plugin header
    08Nov2012

    jQuery Scrollbar plugin

    This is a plugin for jQuery which adds a custom stylable scrollbar to any scrollable div. I wrote the plugin due to the horrible design of many inbuilt scrollbars. It works exactly the same as a default scrollbar and can be controlled by the mouse scroller. The only difference is, this scrollbar can be styled using css. By Web designer and developer Ed Fryer.

    Read more
  • validate-header
    10Oct2012

    jQuery Validate plugin

    This is a plugin for jQuery by Ed Fryer which will easily add validation to any form. It uses html5 validation wherever possible and only uses javascript to style the browsers inbuilt validation. Where html5 validation isn\'t possible it falls back to pure javascript. This means consistent results from ie6 through to google chrome and firefox.

    Read more
  • facebook-code-header
    12Sep2012

    How to pass variables into your facebook custom page tab

    Have you ever written a facebook app or custom page and needed to pass a variable into the app via a query string? To be honest its a nightmare, and a lot harder than it should be (as will all things facebook related) but the good news is... it is possible. And here\'s how...

    Read more
  • jquery google map plugin header
    08Sep2012

    jQuery Google map plugin

    This is a plugin for jQuery by web developer Ed Fryer. It will dynamically add a google map to any webpage with options for custom icons and google directions. All you have to do is include this script and jQuery in your website and give it a postcode/zipcode, Easy!

    Read more
  • jquery tabs plugn header
    08Sep2012

    jQuery Tabs plugin

    This is a plugin for jQuery which easily creates tab functionality. it can bring in content from the same page or from other pages on your site via ajax. Simply include this script and jQuery in the head section of your website and you\'re away. Written by web developer and designer Ed Fryer.

    Read more
  • facebook-code-header
    07Sep2012

    How to detect if someone likes your facebook page

    How many times have you seen those facebook apps and custom pages that won\'t let you get to the juicy content until you like the page? Annoying! But clients love it. Here is how you achieve it without asking the user to connect to your app.

    Read more
  • popup-header
    22Aug2012

    jQuery Popup plugin

    This is a plugin by Ed Fryer for jQuery which includes custom callable functions to open overlays, open popups and modal windows, and create custom confirm dialogues. Just include this script and jQuery in the head section of your website and start creating custom popups easily styled with css.

    Read more