Skip to content

Delayed Positioning? #3

@shabatin

Description

@shabatin

Hi,

Is it safe to wrap the following line in a setTimeout to essentially debounce the resize function across different browsers?

$(window).resize(resizer);

Or perhaps inside the actual function-

$this.css(
attribute, ( ( $this.parent().height() - $this.height() ) / 2 )
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions