IE compatibility view – How to force IE8 to use IE7 rendering mode
Jul 20th
I’ve had a problem with one of my sites, in which IE8 had a javascript error and I needed to use IE7 rendering mode, which was ok.
I this case I found two solutions:
1. Meta tag solution :
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
2. htaccess file solution
Header set X-UA-Compatible IE=EmulateIE7
In my case the .htaccess file version worked just fine
Free Magento theme
Jun 8th
New iPhone 4 launched
Jun 8th
Steve Jobs officially announced yesterday the launch of the new generation iPhone, the iPhone 4.0, at the Apple Worldwide Developers Conference (WWDC).
The new iPhone promises greater battery life, high definition video, a higher resolution screen. The screen size is the same as the one from iPhone 3GS, but contains four times the pixels.
Hardware:
- Saphire glass front and back panels
- Apple A4 CPU
- 3-axis gyroscope
- Micro SIM
- 960×640, 326 pixel per inch display
- IPS Technology screen
- Front facing camera
- Rear facing camera, LED Flash, 5 Megapixels
- 5x Digital Zoom
The price range will be $199 for the 16GB version and $299 for the 32GB one. Both will be available in black and white.
The phone will be available from June 24th, with pre-orders starting from June 15th.
Heroes and hitmen more popular than hackers and coders
Jun 8th
It seems, according to Google, that heroes and hitmen are more likely to find a job than hackers and coders
jQuery back to top smooth scroll
Apr 23rd
$(document).ready(function() { $('.totop').click(function(){ $('html, body').animate({scrollTop:0}, 'slow'); });
}); How to – detect iPhone with Java-script
Apr 23rd
Here is a javascript code snippet that will help you detect iPhone
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { if (document.cookie.indexOf("iphone_redirect=false") == -1) { window.location = "http://website.com/iphone"; }
} 


