Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Bug with duplicating ID


Project:pngFix
Version:1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Founded a bug:

I have a document with
I run pngFix: $(document).pngFix()
After that i try to change css properties: $('#id1').css({top:200+'px',left:300+'px'});
But nothing matters!
I found that pngFix create element with id=id1
I've fixed this bug by changing string:
<--- 83: jQuery(this).hide();
---> 83: jQuery(this).attr('id',jQuery(this).attr('id')+'_previmg').hide();
After that my code works correctly. My version is in attachment.
Fix it in next release, please.
Thanks.

-----------
Sorry for my bad russian english :)

AttachmentSize
jquery.pngFix.js__0.txt4.63 KB

Comments

#1

Founded a bug:

I have a document with img element id=id1
I run pngFix: $(document).pngFix()
After that i try to change css properties: $('#id1').css({top:200+'px',left:300+'px'});
But nothing matters!
I found that pngFix create span element with id=id1
I've fixed this bug by changing string:
<--- 83: jQuery(this).hide();
---> 83: jQuery(this).attr('id',jQuery(this).attr('id')+'_previmg').hide();
After that my code works correctly. My version is in attachment.
Fix it in next release, please.
Thanks.

-----------
Sorry for my bad russian english :)