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!

Breaks in IE with jQuery 1.2.6


Project:Center element plugin
Version:1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Ahh, love this plugin but doesn't work in IE anymore.

It shows an error in jquery.js:
if(set)elem[name]=value;

Not sure what's happening here.

Comments

#1

Okay, looked into it a bit more.

It appears the problem is when using the params {vertical: center}

Here's my code:
$(function() {
$(".deck_text").center();
$("#cih_opp, #cih_you, #field_you, #field_opp").center({vertical: false});
});

#2

Alright, done some more looking into. This breaks when the border width is set to medium, since that's not a number. I don't know the equivalent for px. but I suppose someone'll have to look into it.