Skip to main content

Bug Tracker

Side navigation

#12585 closed bug (duplicate)

Opened September 21, 2012 02:00PM UTC

Closed September 23, 2012 02:22PM UTC

$(window).height(), problem when in loop

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

function AndRedimensiona() {

var valMeio = $(window).height();

$("#divPopConteudo").css('height', '' + valMeio + 'px');

setTimeout("AndRedimensiona()", 1);


when i use this function, using a jquery 1.8.x (or more), tha value of variable "valmeio",is change each interation. This value is not fixed, it's variable. same when not happen change in the window.

Attachments (0)
Change History (1)

Changed September 23, 2012 02:22PM UTC by mikesherov comment:1

resolution: → duplicate
status: newclosed

Duplicate of #12388.