October 23rd, 2009
Internet explorer keeps surprising me on a regular basis, just experienced yet another weird bug happening in IE6 and IE7 with the onresize event. One would expect when binding this event to the window object, the event would be triggered when the window is resized, changes its dimensions, however not in IE. This event gets triggered in IE6 and IE7 not only when the window changes its dimensions but also when the body element changes its dimensions, so anytime you have onresize bound to the window, any change of body dimensions will trigger onresize event, even when the dimensions of the window have not changed. example:
toggle div height
While the onresize event is never triggered by just clicking on the “toggle div height” link in non IE browsers, in IE6 and IE7 is triggered every time the dimensions of the body element change. Luckily there is a simple solution to this problem so you can create your custom onresize function. I love the jQuery library and the solution to this problem would be something like this:
var windowHeight, windowWidth;
$(window).bind('resize', function(){
if ( windowHeight != $(window).height() || windowWidth != $(window).width() ) {
(function(){
windowHeight = $(window).height();
windowWidth = $(window).width();
})();
//code you need to execute here
}
});
example using the new custom resize event:
toggle div height
Posted in javascript - jQuery | No Comments »
August 12th, 2009
I was just gonna write a very long post about Radek Hulan, who blacklisted me on his blog, very likely for writing a very polite comment on one of his stupid posts on everything connected to Apple, I reckon even a thought about an apfelstrudel makes this guy vomit… luckily very soon I realized what a waste of time would it be, to spend even couple of seconds on this Microsoft social media marketing guy number one in our country so I’m not gonna do it. Thanks god there is democracy everywhere else on the web except for Radek Hulan’s blog and Chinese web!!!
Posted in Web developement | No Comments »
May 22nd, 2009
This is why I like the web. I like online tools on the web which can save you time, energy or money. Jsbin is definitely one of them. Sometimes I just need to try out or debugg little parts of javascript code and maybe ask a friend for help with that. All there is needed is to point my browser to jsbin website and start working. It has a very simple interface, just with three tabs, Javascript, HTML, Output. Just include the javascript library you prefer from the drop down menu and off you go. Maybe you want to send the code to someone else to ask for help, opinion, whatever, just hit the button share to public url and send that link to anyone. Combine this with the power of firebug and you got a very handy javascript online debugging tool. Thanks for this one Remy!
Posted in javascript - jQuery | No Comments »
May 7th, 2009
Oh my lord, when I log in to my website using FTP there are just no files, directories at all! Though I’m writing this blog post using wordpress admin and my website is displaying correctly, I’ve got no data on the website at all
Something very weird is going on here.
Posted in Web developement | 1 Comment »
March 13th, 2009
On this day twenty years ago Tim Berners-Lee proposed a document called ‘ Information Management: a proposal ‘. This document became the blueprint for the World Wide Web and was called ‘ vague, but exciting ‘ at that time by Tim’s supervisor. I would say, its pretty much exciting twenty years later. Happy Birthday WWW!!!
Posted in Web developement | 1 Comment »
October 29th, 2008
Im no longer looking for a job as my homepage says. Im planning a total makeover of my website, but I’ve been busy relocating back to Czech Republic from London. I got a job as a web developer in Brno. Im working on this project www.rajce.net. Its an online photoalbum for everybody, not only professionals but for ordinary holiday and party photos as well as for some great professional photo. Im enjoying it…its awesome to work on a project like this, project for people, who can use it for free and enjoy it. So this takes all my time at the moment and there is no more time left looking after my website. Well I gues I should find some more time to write some more posts on this blog at least. I’ll try my best.
Posted in Life | No Comments »
August 29th, 2008
I was watching the TV the other day with my friends and there was an interesting TV show, called ” Life After People “. At first I found the title a bit bizarre. According to the latest statistics world’s population is 6,602,224,175 on the planet and still growing, how could there possibly be life after people, life without people?
Well, I reckon everything is possible. We humans are doing our very best to make it happen some time in the future when polluting our planet with C02, chemicals and all sorts of rubbish. The first odd impression of the show title was soon gone and at the end of the show I felt sort of relieve. Who haven’t seen the show yet, please watch it here. The team of the best experts in engineering, botany, ecology, biology, geology, climatology and archeology which produced the show don’t have to be necessarily right though, but it somehow makes sense to me that human can eventually make no harm to this planet, we can only harm to ourselves, and that’s a very good reason for a big relieve.
Posted in Environment | 7 Comments »
August 17th, 2008
While I was at the uni I had a couple of hotmail emails as most of my classmates had one too, so it was easy to keep in touch on Messenger. Although I registered for Gmail some time ago, I haven’t been using it very much, but decided to make it my main email address now. I’m a fan of AJAX and Google does it brilliantly.
One of the great features on Gmail is the ability to send emails from Gmail as it would be sent from another email, which is sometimes handy as I sometimes don’t want to disclose my main email address to everybody. So I was going to set this up: Gmail > Accounts > Send email as > Add another email address….send verification. Had open Gmail in one tab and hotmail in another, waiting for verification and nothing is happening. What’s going on? Just out of curiosity trying to send a test email from Gmail to the very same hotmail account and its there instantly, and another about 10 emails from all 5 email addresses of mine including another hotmail, yahoo, gmail account, all recieved in hotmail instantly. Trying to cancel gmail’s verification and doing it again, about 5 times all together, none of them going through to my hotmail account.Eventually I got the verification emails, but it took some 30 minutes.
I’m making no conclusion out of this, last time I had sort of similar feeling something is not quite right when I was installing IE7, which took some 15 minutes to upgrade a browser with a 8MB internet connection? At the time it felt like Microsoft is crawling my computer and scanning all my files one by one.
Posted in Web developement | 9 Comments »
July 11th, 2008
We’ve just graduated with Petr this week at Middlesex uni. The thing we are holding in our hands is a prize we both won, yep, we won a can of Heineken each :)) But now seriously, it looks like the two of us, guys from our beloved hometown Hustopece u Brna grabbed both available prizes for computing science undergraduates. He got the Computing Science School prize for the best results in the whole year, and I got Steve Boscoe’s prize for the best database project. Congrats to both of us, and a big thanks to the mdx academic staff, We are honored, and it’s been a pleasure to be there. The ceremony was great and we enjoyed it, there was a short reception and we went to a pub and were celebrating till late. Three years and student life’s gone, now its time for some serious stuff :)) More pictures here:
Posted in Life | 7 Comments »
July 10th, 2008
I had my dad and bro staying in London for couple of days. They came to see my graduation ceremony, which was by the way great, we enjoyed it. We had a great time together here, went to see Wimbledon final, were unlucky to get in though, so watched it in a pub, but sucked a bit of the atmosphere anyway, went for a Chelsea FC stadium tour and took a lot of pictures. Just one thing they were annoyed a bit with was all the waiting in order to get somewhere or see something etc., so at the end, as you can see, they both went bananas :))

Posted in Life | 6 Comments »