View Single Post
09-18-2012, 02:48 PM
BoyWonder is offline BoyWonder
Status: Member
Join date: Mar 2012
Location: Brooklyn, United States
Expertise: Programming
Software: Notepad++
Posts: 102
iTrader: 0 / 0%

BoyWonder is on a distinguished road

  Old  Window.innerwidth problem

When i resize the window, the window.innerwidth doesn't update. I dont want to use jQuery.

var page = window.innerWidth;
var content = document.getElementById("content"); + "px";

i tried:
window.addEvent("resize", function() {
with no avail​