|
|
 |
Re: FN-FORUM: JavaScript and Screen Size
date posted 5th August 2003 22:53
If you just want the layers to be fluid then just use percentages like
tables, otherwise if you want to actually change the x,y coordinates of the
layer after the page has loaded and when someone alters the screen size it's
a bit trickier.
I remember having similar problems myself when a user changes browser size
manually though I'm a bit pissed to remember what I did to fix it ;c)
At a glance I can't think of an easy solution but something along the lines
of javascript which reloads the page if the browser is re-sized like the NN4
fix with a bit of nice css should do the trick, sorry can't be more help but
I'm getting confused as it is ;c)
Best Regards
D Thomas
Tel: 0870 162 0723
[EMAIL REMOVED]
http://www.thomas-design.co.uk
----- Original Message -----
From: "Paul Cooper" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Tuesday, August 05, 2003 10:48 PM
Subject: Re: FN-FORUM: JavaScript and Screen Size
>
> I don't think you need to resort to JavaScript. How are you positioning
the
> layer? position:relative ???
> paul
>
>
>
> >From: John Kyle [EMAIL REMOVED]
> >Reply-To: [EMAIL REMOVED]
> >To: FN-FORUM / [EMAIL REMOVED] [EMAIL REMOVED]
> >Subject: Re: FN-FORUM: JavaScript and Screen Size
> >Date: 5 Aug 2003 20:50:08 -0000
> >
> >
> >I am trying to move the position of the layers when somebody changes the
> >browser window size e.g. if you use the 'Restore Down' when you have IE
> >full
> >screen and then you use the arrow thing in the bottom right hand corner
to
> >move change the window size I need to move the layers as how things would
> >move when using tables. Have yo any ideas???
> >
> >Best Regards
> >
> >John
> >
> >----- Original Message -----
> >From: "Paul J White" [EMAIL REMOVED]
> >To: [EMAIL REMOVED]
> >Sent: Tuesday, August 05, 2003 9:21 PM
> >Subject: Re: FN-FORUM: JavaScript and Screen Size
> >
> >
> > >
> > > John Kyle wrote:
> > > > Hello Everybody,
> > > >
> > > > Does anybody have a way or any ideas using JavaScript to detect when
> > > > the size of the browser has been altered. The web site uses layers
> > > > and when the browser size is changed I would like the layers to move
> > > > position in the same way a table does when set to 100%. Any ideas on
> > > > how to do this?
> > > >
> > > I'd have thought a fluid CSS design would be the best option -
> >lightweight
> > > and fairly x-browser safe, unlike some js detects. But that's only my
> > > initial 2p ;-)
> > >
> > > Paul.
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003
> > >
> > >
> > > ==========
> > > fido.net are pleased to sponsor these Freelancers messages. For all
> > > your web hosting needs check out http://www.fido.net/ with hosting
> > > packages starting from just £46.95 a year including VAT.
> > > Free 0871 Fax2Email numbers also available online!
> > > http://www.fido.net/ - the internet made simple! - 0800 1072 666
> > >
> > > To advertise here: http://www.freelancers.net/advertising.html
> > >
> > >
> >==========
> >fido.net are pleased to sponsor these Freelancers messages. For all
> >your web hosting needs check out http://www.fido.net/ with hosting
> >packages starting from just £46.95 a year including VAT.
> >Free 0871 Fax2Email numbers also available online!
> >http://www.fido.net/ - the internet made simple! - 0800 1072 666
> >
> >To advertise here: http://www.freelancers.net/advertising.html
> >
> >
> ==========
> fido.net are pleased to sponsor these Freelancers messages. For all
> your web hosting needs check out http://www.fido.net/ with hosting
> packages starting from just £46.95 a year including VAT.
> Free 0871 Fax2Email numbers also available online!
> http://www.fido.net/ - the internet made simple! - 0800 1072 666
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|