I have released jGrowl 1.1.1 this evening on the jQuery plugin page. This is a simple maintenance release fixing some minor issues that arose in 1.1.0. One new feature has been added, which is an optional setting to customize the content of the [ close all ] link for containers of multiple notifications. Additionally I have expanded the examples to include some more flashy skinning, and I have added a new example called jTweet. jTweet uses Twitter's javascript API to fetch twitter updates and generate several jGrowl notifications for them. The latest release can be downloaded here. All existing jGrowl users are encouraged to upgrade to this release.
Comments:
It's not your bug, this is a public bug...
In jquery.jgrowl.js line 200 you have this:
if ($.browser.msie && parseInt($.browser.version) < 7) $(this.element).addClass('ie6');
BEFORE this line i add this and work perfectly:
if(jQuery.browser.msie && parseInt(jQuery.browser.version) == 6 && window["XMLHttpRequest"] ) {
jQuery.browser.version = "7.0"
}
(sorry my bad english...)
Hope i help,
BD-Team
http://www.bdteam.hu
Thanks for saving me a lot of time:)
I have one apparent bug, and two suggestions.
The bug: It seems the script checks for an option named 'corner', while your documentation mentions an option named 'corners'.
The suggestions:
You may want to clearly mention that some settings only work when you set them as defaults, not when you hand them to $.jGrowl(), and explain how to change those defaults.
Also: renaming the CSS class 'header' to something less likely to collide with people's own classes may avoid some confusion.
on the jGrowl feedback form:
It's broken :)
The preference is actually "corners", but in order for it to be used it tests for the presence of $.fn.corner . This is probably a little confusing when looking at the source, but the documentation is actually correct. It also should probably be renamed, but now I have to keep it for compatibility sake.
The same goes for the CSS class'es, I agree with you 120% about the naming, and I wish I had done things differently. However, enough people are using the script now that to change it would break a bunch of existing installations. I'll probably look to add some alternative and better named classes in the future, or perhaps even a compat-mode like I did with the general $.jGrowl() wrapper method down the road.
Thanks for the feedback, I appreciate it!
- SL
I love jgrowl, it's a masterpiece.
One quick tip: the .zip file contains the Mac resource forks, and the one for smoke.png is over 100k compressed. If you used Stuffit to create the zip file, it wouldn't include that resource fork, and the download package would decrease in size by over 100k.
Peter
PS: the previous commenter was right -- your contact form doesn't work..
Also, thanks for the tip on using Stuffit! I will make sure to do this with the next release.
- SL
I did however have to swap your fix around for it to work...
if(jQuery.browser.msie && parseInt(jQuery.browser.version) == 7 && window["XMLHttpRequest"] ) {
jQuery.browser.version = "6.0"
}
Not sure if that's correct or not, but it fixed my problem! :)
I am getting an INVALID ARGUMENT ERROR??? any ideas.
Post Comment: