Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Resizing browser window


  • From: trojani2000 at hotmail.com (Troy III Ajnej)
  • Subject: [Javascript] Resizing browser window
  • Date: Thu Jul 27 15:30:47 2006

> Your code works for Safari 2.0.4 -- it sets the browser window's > height to maximum.
Yes I know that, - 'couldn't leave the height property empty, could I?
You can change it to whatever you like any time.
Thanks for testing in Safari, I knew it will run, but wasn't sure if it will do it's job correctly.
(Now, that you didn't answer!)
That is: resize the browser window so that our desired body width fits exactly. 
 
-Reason of my doubt:
Even if all Netscape browsers should have the same frame width, I'm not sure if they do, -unless I measured them. 
Second: I don't know if mac OS is also using exactly 16 pixel wide scrollbars. With these questions answered the code 
will be completely certified for browsers requested, that are:  IE, FX & Safari. In case the second requirement doesn't meet 
both platforms, than we'll need to add yet another conditional to finish it.P.S.:
I've just viewed your page at:http://xn--ovg.com/a/detect_window_size.php
 It's showing incorrect width for every < 832 pixel dimension, while the height reported is always 187.
Second: it's showing the page width not the window width!Check it back...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         Troy III                           progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Your code works for Safari 2.0.4 -- it sets the browser window's > height to maximum.> > Geof:> > > >Really I am hoping to find some sort of property that I can query to > >get these values on the fly or a different way to resize a window.> > Check out:> > http://xn--ovg.com/a/detect_window_size.php> > Perhaps that would work for you (code's in the source)> > hth's> > tedd> > -- > -------> http://sperling.com  http://ancientstones.com  http://earthstones.com> _______________________________________________> Javascript mailing list> Javascript@xxxxxxxxxx> https://lists.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20060727/7bc43f5f/attachment.html