Category Archives: Blog

How to change colour of UINavigationBar

By default the UINavigationBar on an iOS app is blue. Apple have some built-in styles that you can use [self.navigationController.navigationBar setBarStyle:UIBarStyleBlackOpaque];[self.navigationController.navigationBar setBarStyle:UIBarStyleBlackOpaque]; The options available are: UIBarStyleBlack UIBarStyleBlackOpaque UIBarStyleBlackTranslucent UIBarStyleDefault *UIBarStyleBlackOpaque and UIBarStyleTranslucent have been depreciated. You should use UIBarStyleBlack and set property ‘translucent’ to yes if needed*. You can also change the colour to […]

Exclude Featured image from WordPress gallery

I needed to add the default wordpress gallery to page with a featured image but found that the featured image was also included in this gallery. The best way I found to exclude this is to add the code below to your site function exclude_thumbnail_from_gallery($null, $attr) {     if (!$thumbnail_ID = get_post_thumbnail_id())     […]

Google Web Fonts

I thought that Google Web Fonts deserved a post here. I used it in a website yesterday for the first time. I have done tests previously but haven’t actually used it. Admittedly there aren’t as many fonts on there as TypeKit or Fonts.com but they still have a decent selection. It is extremely easy to pick your […]

HTML5 Boilerplate

http://html5boilerplate.com/ This template is a great starting point when creating a new website. The template contains jQuery, Modernizr, uses HTML5 tags and CSS3 also. The template comes with and index.html page which should be base of all your pages in the site, it also has a 404.html page which can easily be changed to fit […]

PullToRefresh iOS

Maybe a bit late to the table but this plugin is so easy to use but makes a huge difference to an app. It takes a couple minutes to get it working in an app so no reason not to use it if you need a way of refreshing a uitableview https://github.com/enormego/EGOTableViewPullRefresh

jQuery form.submit() not working

I was working on a basic html form recently. The form was using the jQuery validation plugin. Once validated I needed to submit the form using the jQuery .submit() function. For some reason this was not working for me. After searching Google for a very long time and trying out lots of potential solutions I […]

Fancybox and ASP .Net Forms

Fancybox is a great jquery plugin that allows you to display content; typically images, html or external websites over the top of your website. I have used this plugin many times, but recently I used it to display a contact form on a .Net page. It worked perfectly fine in Chrome, but when it came […]