Thursday, February 5, 2009
IE has bug which deletes session data and brakes functionality of website. In other browsers all is working fine.
Here is example in PHP:
<?php
print_r($_SESSION);
//output:
//Array ()
?>
After half day of breaking brain and Google really fantastic solution for this problem, but no one of them didn’t solved our problem. So Mika found that if markup have empty src attribute, IE makes an empty request which breaks session data. So solution is simple check if there any empty src attributes and hrefs in link tag.
Was:
<img src="" alt="An image" id="img" />
You need to remove this empty attribute or if you don’t need this for javascript remove IMG tag at all.
<img src="" alt="An image" id="img" />
That’s really stupid.
Monday, January 19, 2009
Often we need to generate some websites with static content, for example without any line of PHP code or without Ruby on Rails, just need to have plain HTML files. As for Me I hate to edit 50 HTML pages manually. I found a nice solution. It’s Webby
This is a great solution to complete such task.
You can check how it’s work here or there (old version).
There are more tools like Webby, Nanoc and jekyll. I have didn’t tried them, but I guess the functionality is the same.
Thursday, December 18, 2008
I had a bit free time today and I have written a PHP class which gets the official rates for Estonian crown. This class will be useful for internet shops or any other commercial organizations who need to keep their courses fresh.
You can download or check source. This stuff is really simple as hell, anyway there is a small documentation inside archive.
Here you can see the most fresh Estonian currency rates
Friday, October 17, 2008
Recently we have updated Mosaic’s site and we used for catalog nice jQuery magnify plugin.
Check this amazing magnify stuff.
When jQuery was released became possible to do amazing stuff without usign Flash.
As for me I’m not a big fan of the Flash and I do as much as possible on JavaScript with jQuery library.
Read and learn at jquery.com.
Tuesday, October 14, 2008
PNG is quite popular and versatile format for web, but not so as we all want. Why? Because software cannot render, save and open it correctly. Only IE6 is worth to remember, I hope soon that wretched browser will stay in far-far past. Sometimes happens that PNG’s file size is quite heavy.
OK, lets begin our story. When you create a PNG files in Photoshop they seems to be quite large. “Why” you ask? I answer, because Adobe Photoshop (even CS3) don’t know how to save PNG format correctly (strange, but Adobe Fireworks does). Ok, lets see why Photoshop saves PNG images incorrectly.
Thursday, October 9, 2008
After years of preparations I created a normal web-page with blog. From this moment all my stuff will be here in one place.
Special thanks to Mika Tuupola.