LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] Sizing content automatically

[Webdev] Sizing content automatically

Niall O Broin niall at magicgoeshere.com
Tue Sep 26 02:14:55 IST 2000


On Tue, Sep 26, 2000 at 02:09:57AM +0100, Adam Beecher wrote:

> >    I use the javascript window properties innerWidth and innerHeight to
> > determine how much content to show to a user. This works with Navigator 4
> > but not with IE 4. There, I use screen.availWidth and screen.availHeight but
> > that's not a great solution for someone who doesn't have their browser
> > window maximised.
> >
> > It's like a dream to me that I saw mentioned somewhere that this can be done
> > in IE5, although not quite as simply. Do any of you know if this is the case
> > or not ? If so, how do I do it ?
> >
> Not sure if I'm following here Niall - you mean maximising the browser? You can

No - I mean determining how much space is available in the browser window
which the user chose to use, and then showing as much content as can fit in
that window without the user having to scroll. window.innerWidth and
window.innerHeight are browser windows in Navigator which give me exactly
the inofrmation I need, but they don't exist and AFAIK there are no
analogues to them in IE4, but I'd like to know if there are in IE5.



Regards,


Niall  O Broin




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell