Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,255
Total Threads: 81,304
Total Posts: 567,058
There are 88 users currently browsing (tf).
  Our Partners:
  TalkFreelance     Design and Development     Programming     Javascript :

Window.innerwidth problem

Thread title: Window.innerwidth problem
    Thread tools Search this thread Display Modes  
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​


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed