Since my last work on a custom combobox went so smooth I decided that it is time to try and build yet another custom plugin for JQuery. This time round I’m building a custom calendar object. Now I know these already exists, but this is mostly an experiment to build more experience in developing for JQuery.
As this plugin will require a bit more work then the combobox I have no idea as to when I can release a first usable version. But as soon as I do I will publish it here
.
It was recently brought to my attention that the WordPress plugin I use for posting images on this website was not working properly anymore, thanks for warning me of this issue. Well not working properly in the sense that images would get opened in the same window, with no options to navigate back to the post.
Initially I thought that this was caused by the plugin I use for this called NextGen Gallery. After all this plugin failed to do its job properly, but unfortunately that was a bit stupid thinking on my part. I should have realised that the plugin stopped working after an upgrade of the WordPress blog powering the website. For some reason the thickbox JQuery extension produced JavaScript exceptions.
I don’t know exactly why it doesn’t work like expected and I don’t really care either. Suffice it to say that changing a small piece of code in the ‘wp-includes/js/thickbox/thickbox.js’ fixed the issue. All I had to do is modify the tb_init function into the following:
function tb_init(domChunk)
{
jQuery(domChunk).bind("click", tb_click);
}
I think it must have been some conflict in the JQuery versions or something, since it used to call the ‘.live‘ method on JQuery. But this was what was causing the exceptions. If anyone knows a more permanent fix for this issue please let me know.
Just a few days ago I posted that I started working on a better looking drop down box to replace the select element on webpages. Today the first version is released under the GPL license. You can download it by visiting the plugin page under Plugins - Custom Combobox.
This first version includes:
Please note: as this is the first release there may still be some bugs in the code, please feel free to contact me if you find any and I will attempt to solve them as quickly as possible.
For my work I recently came across an issue with IE6 and the width of a select. For some reason it does not scale to the width of the content. So I started looking into a custom implementation using JQuery.
Unfortunately the work halted when I ran into serious issues with our beloved website full with frames. But I am continuing it in my spare time as a research project. So soon more on this adventure.