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.
Archive for the 'Quick Tip' Category
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.
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
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:
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.
The Google Chart API provides an easy way to generate a chart dynamically by sending a simple URL to Google Chart service as follows:
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)
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.
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!
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!