Really like this saying June 26, 2009 No Comments
“Everything in the world is now real time. So when a certain type of shoe isn’t selling at your corner shop, it’s not six months before the guy in China finds out. It’s almost instantaneous, thanks to my software.”
by Vivek Ranadive, founder and CEO of Tibco
Open link in a new window in XHTML 1.0 Strict June 24, 2009 No Comments
As you may notice using target=”_blank” breaks XHTML 1.0 Stric validation. And here you are a solution with jQuery:
- Add rel=”external” for links that you want to be opened in a new window
- Include the following jQuery script:
$(function() {
$("a[rel*='external']").click(function() {
window.open($(this).attr(‘href’), ‘external’, ”);
});
});
But I agree that it’s annoying when link is opening in new tab(window) without your acceptance. Even for external links users can use hot key combination (Command + T in mac os or Ctrl + T in windows) to open a link in new tab. We should give user a choice to decide personally whether he/she wants to open a link in the same window or external. Or at least to notify somehow. Using popup window or even icon near the link that tells user that this link is external.
jQuery tips and tricks: ‘Add more’ functionality in a table June 23, 2009 No Comments
Usually we have ‘Add more’ link on the forms. For example, on the project I’m working on right now there is registration form and user with Advanced package can create a few accounts. So we have ‘Add more’ link that should add one more row with Name, Email and Password for adding another account. Because we use table in HTML for placing data fields, new row will be TR actually. And there is a little trick to add it.
Here you are:
$("#add_more").click(function() {
$("form table tr:last").after(‘<tr>…</tr>’);
});
});
At first, I add click event handler on ‘Add more’ link. In even handler declaration I find the last TR block in the table. Then use after() method to add new TR row.
Flowers everywhere… April 16, 2009 No Comments
I had a bicycle trip across a forest last weekend and was impressed how many flowers are there. The feeling was incredible!

Unlimited products in stock in osCommerce April 2, 2009 No Comments
Strange that this option isn’t available in osCommerce. Maybe I missed something but there is only ability to set number of products in admin - no option to set it for unlimited number. What if I sell service? It’s definitely unlimited (well until I’ll be in business).
Of course, the easiest way will be run something like this:
But I’m not happy with this solution. Will spend some time tomorrow investigating it.
Bring IE 6 down April 1, 2009 No Comments
Bring IE 6 down - we have been dreaming about it long time.. “It’s time to unite”!
Focus element in ThickBox March 24, 2009 No Comments
I faced with a problem focusing element in thickbox popup. I open login form using thickbox and want to take a focus on the first element of the form. Though the following code does look to be working:
$("input[name='username']").focus();
});
But there is a little trick. If you make a small 100ms delay in focus() call it works:
setTimeout("$(\"input[name='username']\").focus();", 100);
});
Installing GD on Mac OS Leopard October 28, 2008 No Comments
Found a great article how to do this - Install GD for PHP on Mac OS X 10.5 Leopard. Thanks, Chris!
Leaving Wildbit October 23, 2008 No Comments
This week I left Wildbit team. It was really difficult decision for me because it’s just a perfect company - the best one I’ve worked in! I’ve made lots of friends there and it was nice to work with everybody. Goodbye, guys!

I decided to concentrate more on my own company. That’s what I was thinking about last years. Actually I’m not going to develop my own projects. At least for right now. I do not feel strong enough yet. But making business as outsourcing/consulting company can help me to get necessary experience. And it’s just another side of application development process which I want to be involved as a professional.
Back to PHP! Nice to switch from one platform to another one, from one language to another. Of course there is pros and cons in every framework, library etc. But get back in touch with something you’re familiar with is always nice. As you probably already got my company is going to be specialized in PHP/MySQL development.
My name is Alexander Kleshchevnikov. I have been working as a professinal web application developer since 2002. I believe in simple intelligence from server technologies to front-end development. Now I run my own web development consulting company in Ukraine. You can find