Development

October 23, 2011 PHP no responses # ,

A PHP Library For Image Manipulation: Imagine

Imagine is an object-oriented PHP library for working with images and manipulating them. The library can handle frequently-used operations like resize, crop or applying filters. A color class helps generating the RGB values of any given color and methods exist for drawing shapes like arc, ellipse, line, pieSlice and more.

Imagine is a OOP library for image manipulation built in PHP 5.3 using the latest best practices and thoughtful design that should allow for decoupled and unit-testable code.
Continue reading

October 23, 2011 jQuery no responses # , , ,

Customizable Content Slider – Basic jQuery Slider

Basic jQuery Slider is a non-complicated and lightweight (4.6kb minified) content slider plugin that can present any HTML content. It is not feature-rich and includes only the essential functionality combined with clean semantic mark-up.

  • Easy to use, easy to theme, easy to customise.
  • A simple, no-frills, robust jQuery plugin for creating beautiful slideshows for your featured content.
  • Slides can contain any valid HTML markup
  • Allows both slide and fade animations
  • Supported in all major browsers
  • Easy to theme and customise for any project
  • Supports keyboard navigation
  • Super lightweight, weighs in at 4.6kb minified
  • Completely free to use

Basic jQuery Slider
Continue reading

October 22, 2011 JavaScript no responses #

Awesome handling of keyboard events with JavaScript: jwerty

jwerty is a lightweight JavaScript library (1.5kb minified) that enables us to bind, fire and assert key combination strings against elements and events.

Library is a JS lib which allows you to bind, fire and assert key combination strings against elements and events. It normalises the poor std api into something easy to use and clear. jwerty is a small library, weighing in at around 1.5kb bytes minified and gzipped (~3kb minified). jwerty has no dependencies, but is compatible with jQuery, Zepto or Ender if you include those packages alongside it.
Continue reading

October 21, 2011 CSS no responses

Using reset.css file to get full control

The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. So why using a reset.css file? Its very simple – for full control. I don’t want any formatting on my websites that I didn’t specify.

Resetting your styles, commonly referred to as CSS Reset or Reset CSS is the process of resetting (or more accurately – setting) the styles of all elements to a baseline value so that you avoid cross-browser differences due to their built-in default style settings. By resetting your styles, you avoid defaulting to the browser’s built-in styles, which differs from browser to browser.
Continue reading

October 20, 2011 JavaScript no responses # , ,

Simple Javascript Delay routine

Setup events to occur after a delay

Using setTimeout we can trigger an alert after 5000 milliseconds.

setTimeout("alert('hello guest!')",5000);

Continue reading

September 15, 2011 Google Maps , jQuery no responses #

Replace body onunload=`GUnload()` with jQuery

If you use Google maps it’s important to use GUnload on the page’s unload event. It’s ok when you can access the body tag directly. But if you have the Google map functionality wrapped inside an ascx you need a different approach.

In fact is very easy to use jQuery to “catch” the unload event. In case anyone else needs it:

$(window).unload( function () { GUnload(); } );
June 2, 2011 MySQL , Wordpress no responses # ,

Moving WordPress site to new domain

When You decide to reorganize the blog link URL to make it tidier or to reflect new focus or theme of the blog. If you decide to change the URL or link location of your WordPress blog due to changing of domain name (such as from http://www.old-domain.com/ to http://www.new-domain.com/) or the blog to another directory location (such as from http://www.domain.com/ to http://www.domain.com/blog/), there are some steps that should be done to ensure the proper migration and no breaking links.

The tricky part when moving WordPress blog to another location is that WordPress is using absolute path in URL link instead of relative path in URL link location when stores some parameters in database. Within blog posts’ contents itself, users may also use the old URLs when creating reference backlinks. All these values in the database will need to be changed when WordPress is moved. The following guide will show you which database fields that has references or values related to blog’s URLs that you want to modify. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service.
Continue reading

May 2, 2011 CSS , jQuery no responses # ,

Fancy CSS/jQuery information boxes

A snazzy tutorial for you that you can use on you’re blog or website – whatever takes your fancy!

Now you probably noticed something different about my website that the welcome information box has been moved from the main content box to outside of the layout. This is to draw more attention to it so whenever you visit it’s there as a friendly hello to you and at your option to follow us or subscribe to the RSS feed.

How you can accomplish this on your website in the most easiest way possible?!
Continue reading

April 7, 2011 CSS3 , Tools no responses

Useful CSS3 Tools

CSS3 getting more and more popularity in more and more websites. However, there are still those out there that are holding out on learning it and using it. This is probably due to the fact that it’s not fully supported yet in all browsers. Nevertheless, if you’re one of those that haven’t started using CSS3 or you’re a CSS3 pro just looking to speed up your work flow, here are six CSS3 tools that you should find useful.
Continue reading

1 9 10 11 12
Stay In Touch