- WordPress 3.0.1
- jQuery 1.4.2
- jQuery UI 1.7.3
WordPress use a lot jQuery and jQuery UI but the jQuery UI datepicker widget is not include by default. So if you want to use it for your plugin, you need to add it by “hand”.
Continue reading
WordPress use a lot jQuery and jQuery UI but the jQuery UI datepicker widget is not include by default. So if you want to use it for your plugin, you need to add it by “hand”.
Continue reading
Currently, I’m working again on my WordPress task manager plugin.
I’m using a lot JavaScript and jQuery. I encounter a bug when you try to use the jQuery datepicker inside a jQuery dialog. : the calendar appear behind the dialog.
Continue reading
In order to prevent robot to register on my wordpress sites, I like to use the plugin WP-reCAPTCHA which used a strong and robust captcha system made by a compagny recently bought by Google.
But the actual plugin have two problems : it add a css file on every page of your site, making it slower to load.
I found a way to correct this problem.
Continue reading
Hi,
one my other website energies2demain.com I use a bunch of plugins to improve the behavior of WordPress.
One of them is WP-Slimbox2 which allow to display a nice lightbox when the visitor click on a picture.
This plugin is great but it decrease the performance of the website, but we can correct that.
First, what cause the problems : too many files need to be load :
To simply decrease the number of file to download, I simply put them in the template of my theme : I took the output of the javacript from firebug and put them in the bottom of footer.php . Same thing with the css in the main css file from the theme. For the picture, well, I didn’t figure yet :p .
One big big problem with this solution : after the update of the plugin, every thing is lost. Moreover, the “mess” you put in all the files are still here.
So I’m going to write a very light plugin to do a lightbox in jQuery. This plugin will have no option, no configuration and no image to control, no installation. Basically, is going to be only a Javascript snippet that you will have to insert in the footer of your theme.
Mots-clés: wpslimbox 2 plugin
Toggle JavaScript Console Message
As I’m currently developing a jQuery plugin to deal with huge table that can’t be display without crashing the browser, I start to use a lot the debugging messages in the JavaScript Console of each browser.
These messages are very useful for the developer and helps me to understand what is going on without using the full step to step mode of a JavaScript debugger.
But sometimes you want to simply turn all the message On or Off. We can do that with a global variable and to test every time the value. It works, but it add a lot of lines and make the script slower.
So I wrote a small PHP script which add or remove comment in front of each console. line in your javascript file.
I create a page on SourceForge to have a SVN, a bug tracker and some other nice feature.
Please take a look
https://sourceforge.net/projects/toggleconsole/
Mots-clés: jquery ui apple theme, jquery apple theme, jquery ui theme apple, jquery ui themes apple, javascriptconsolemessage