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: | andreluizweb@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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 comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #12388.