Skip to main content

Search and Top Navigation

#4795 closed bug (duplicate)

Opened August 22, 2009 06:23PM UTC

Closed August 26, 2009 04:16PM UTC

Last modified October 11, 2012 09:15PM UTC

width & height functions caluculate incorrect values

Reported by: psyafter Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

these functions calculates incorrect values in not ie block:

width

handle "good" browsers

} else {

return $(document).width() + 'px';

}

height

handle "good" browsers

} else {

return $(document).height() + 'px';

}

its cause scrollbars on page

I tried replace it woth following code and its wotk perfect now:

width

handle "good" browsers

} else {

return $('body').outerWidth(true) + 'px';

}

height

handle "good" browsers

} else {

return $('body').outerHeight() + 'px';

}

Attachments (0)
Change History (3)

Changed August 22, 2009 06:26PM UTC by psyafter comment:1

bug found on IE8 (cause scrollbar) & in Chrome (enlarge width & height)

Changed August 26, 2009 04:16PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Duplicate of #3623.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted