Archive for the 'Quick Tip' Category

Flash z-index fix by setting wmode to transparent

You should have experienced that a div is being partially or completely covered by a Flash object or Flash movie. No matter how you specifically set the z-index of your DIV to be higher than the Flash movie, it’ll not work on your browsers.

Continue reading ‘Flash z-index fix by setting wmode to transparent’

HTML5 allows you to store data on your local web browser

If you remember Google Gears, there was a feature (Local Database API) allowing to store data on your local web browser. But since HTML5 has emerged into supporting such a feature, Google has decided to retire its Google Gears.

Continue reading ‘HTML5 allows you to store data on your local web browser’

IP to country converter – using MaxMind GeoIP API

We’ve covered the HostIP.info API for converting the IP address to a country and city of your visitor. But you may have noticed sometime HostIP.info does not convert everything and might have comparatively lower accuracy. But if you want better accuracy, HostIP.info also recommends you to get a commercial version such as MaxMind

Continue reading ‘IP to country converter – using MaxMind GeoIP API’

Use Google History to keep track of what you’ve searched recently

Google History is a free service offered by Google where you can have a list of your recent searches on Google. Many of us may not have known of this Google service. It seems like Google didn’t have too much buzz about the Google History. Anyway, the Google History has some usefulness as follows:

Continue reading ‘Use Google History to keep track of what you’ve searched recently’

Wp-syntax plugin for WordPress to automatically format or highlight syntax on programming codes in your blog posts

If you’re like me, running a blog powered by WordPress which you always need to show some programming codes in a number of languages, and you want those codes to be well-formatted with syntax highlighted while being displayed to your users. You can then make use of the WordPress’ Plugin, Wp-Syntax to do so.

Continue reading ‘Wp-syntax plugin for WordPress to automatically format or highlight syntax on programming codes in your blog posts’

How to develop desktop-like web applications ?

Uki is a JavaScript library that allows you to develop web applications to have the look and feel and interactiveness of a desktop application. You can get Uki from Ukijs.org.

Continue reading ‘How to develop desktop-like web applications ?’

Google Chart API example : Display data on chart made easy

The Google Chart API provides an easy way to generate a chart dynamically by sending a simple URL to Google Chart service as follows:

http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250×100&chl=Hello|World

And Google Chart returns you an image of the chart. As shown the above you just need to pass the Google Chart with three parameters, which are cht (Chart Type), chd (The percentage distribution of your data on Chart), chs (Chart size), and the chl (Chart Label)

Continue reading ‘Google Chart API example : Display data on chart made easy’

Google Gears Geolocation API, example displays your location on Google Map

The Google Gears Geolocation API allows you to display your current position data by obtaining it from your WiFi antenna. The Google Gears Geolocation API is able to obtain the exact location of the user’s current location, in terms of latitude, longitude and even the address etc. User browsers such as Internet Explorer, Firefox must have Google Gears installed excepts Google Chrome, in order to have the Google Gears API to work on your browser.

Continue reading ‘Google Gears Geolocation API, example displays your location on Google Map’

To validate if an URL exists, use PHP CURL

PHP Curl allows you to validate if a given URL exists. What you need to do is just a simple function as follows, which takes an input URL and returns the code. If the returned code is 200, then the URL exists, else it doesn’t!

Continue reading ‘To validate if an URL exists, use PHP CURL’

Google AdSense : Useful tools, tips and resources

If you’re one of the webmasters or bloggers having a couple of your websites or blogs pulling lots of traffic from the Google search engine and others, you shall already know what Google AdSense is. And of course, you shall be showing AdSense ads on your popular websites or blogs and making lots of Google Money!

Continue reading ‘Google AdSense : Useful tools, tips and resources’