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!

.position() is not part of jquery, its part of some other plugin. Use .offset() instead.


Project:Absolutize
Version:0.0.1-rc-1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

N/A

Comments

#1

Here, this is what I have come up with. Works great for converting inline-blocks to absolutely positioned element.


   jQuery.fn.absolutize = function()
    {
        this.each( function()
        {
            $(this).css("top", $(this).offset().top);
            $(this).css("left", $(this).offset().left);
        });
        return this.each( function()
        {
            $(this).css("position", "absolute");
        });
    }

#2

Status:active» fixed

thanks

#3

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.