|
|
 |
Re: FN-FORUM: JavaScript and Screen Size
date posted 5th August 2003 23:11
Hello Paul,
I was using position:absolute, the layers are output from a CMS system at a
set position left="191" top="140", all of the other layer content is held
within this outer div tag (div within a div tag) so to make positioning
everything easier relative to this outer div tag. What would be a good way
to do this this???
Best Regards
John
----- 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
>
> |
 |
|