Thread: Idea for a new index page
Hi all, I've been playing around with the index page a bit, this is the result: http://wwwdevel2.postgresql.org/test2.htm On this page, - The events have a better position (the Visitor does not have to scroll down) - The visitor gets a nice "Welcome" message I also think this page looks more nice and transparent. We can then create seperate pages for the news and the events... What do you think? Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
I like this layout! I like how it spans the width of my screen, and it has a nice summary at the top. --------------------------------------------------------------------------- Andreas Grabm?ller wrote: > Hi all, > > I've been playing around with the index page a bit, this is the result: > > http://wwwdevel2.postgresql.org/test2.htm > > On this page, > - The events have a better position (the Visitor does not have to scroll down) > - The visitor gets a nice "Welcome" message > > I also think this page looks more nice and transparent. We can then create seperate pages for the news and the events... > > What do you think? > > Mit freundlichen Gr??en > Andreas Grabm?ller > > -- > LetzPlay.de > | Freemail: http://www.letzplay.de/mail > | Forenhosting: http://www.letzplay.de/foren > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
works for me ... I didn't like the 'overscrolling' that happened on the old site, then keeps it nice and condense ... On Sun, 9 Nov 2003, Andreas GrabmXller wrote: > Hi all, > > I've been playing around with the index page a bit, this is the result: > > http://wwwdevel2.postgresql.org/test2.htm > > On this page, > - The events have a better position (the Visitor does not have to scroll down) > - The visitor gets a nice "Welcome" message > > I also think this page looks more nice and transparent. We can then create seperate pages for the news and the events... > > What do you think? > > Mit freundlichen Grüßen > Andreas Grabmüller > > -- > LetzPlay.de > | Freemail: http://www.letzplay.de/mail > | Forenhosting: http://www.letzplay.de/foren > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html >
Hey yeah, this is starting to come along nicely. Um... needs a bit of color though. Perhaps chucking in the Linux Journal Editors Choice Award logo or something similarly colorful and flashy? :-) Regards and best wishes, Justin Clift Bruce Momjian wrote: > I like this layout! I like how it spans the width of my screen, and it > has a nice summary at the top. > > --------------------------------------------------------------------------- > > Andreas Grabm?ller wrote: > >>Hi all, >> >>I've been playing around with the index page a bit, this is the result: >> >>http://wwwdevel2.postgresql.org/test2.htm >> >>On this page, >>- The events have a better position (the Visitor does not have to scroll down) >>- The visitor gets a nice "Welcome" message >> >>I also think this page looks more nice and transparent. We can then create seperate pages for the news and the events... >> >>What do you think? >> >>Mit freundlichen Gr??en >>Andreas Grabm?ller >> >>-- >>LetzPlay.de >>| Freemail: http://www.letzplay.de/mail >>| Forenhosting: http://www.letzplay.de/foren >>---------------------------(end of broadcast)--------------------------- >>TIP 5: Have you checked our extensive FAQ? >> >> http://www.postgresql.org/docs/faqs/FAQ.html >> > >
> -----Original Message----- > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > Sent: 10 November 2003 03:38 > To: Andreas GrabmXller > Cc: pgsql-www@postgresql.org > Subject: Re: [pgsql-www] Idea for a new index page > > > works for me ... I didn't like the 'overscrolling' that > happened on the old site, then keeps it nice and condense ... My main dislike is the short links for the news/events. They aren't visually separate from the rest of the page if you see what I mean. How about making those cell backgrounds a light gray? Regards, Dave.
----- Original-Nachricht ----- Von: "Dave Page" <dpage@vale-housing.co.uk> An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" <webmaster@letzplay.de> CC: <pgsql-www@postgresql.org> Datum: Monday, November 10, 2003 10:01 AM Betreff: [pgsql-www] Idea for a new index page > > -----Original Message----- > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > > Sent: 10 November 2003 03:38 > > To: Andreas GrabmXller > > Cc: pgsql-www@postgresql.org > > Subject: Re: [pgsql-www] Idea for a new index page > > > > > > works for me ... I didn't like the 'overscrolling' that > > happened on the old site, then keeps it nice and condense ... > > My main dislike is the short links for the news/events. They aren't > visually separate from the rest of the page if you see what I mean. How > about making those cell backgrounds a light gray? > > Regards, Dave. What about this? http://wwwdevel2.postgresql.org/test3.htm Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
On Mon, 10 Nov 2003, Andreas GrabmXller wrote: > ----- Original-Nachricht ----- > Von: "Dave Page" <dpage@vale-housing.co.uk> > An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" <webmaster@letzplay.de> > CC: <pgsql-www@postgresql.org> > Datum: Monday, November 10, 2003 10:01 AM > Betreff: [pgsql-www] Idea for a new index page > > > > -----Original Message----- > > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > > > Sent: 10 November 2003 03:38 > > > To: Andreas GrabmXller > > > Cc: pgsql-www@postgresql.org > > > Subject: Re: [pgsql-www] Idea for a new index page > > > > > > > > > works for me ... I didn't like the 'overscrolling' that > > > happened on the old site, then keeps it nice and condense ... > > > > My main dislike is the short links for the news/events. They aren't > > visually separate from the rest of the page if you see what I mean. How > > about making those cell backgrounds a light gray? > > > > Regards, Dave. > > What about this? > > http://wwwdevel2.postgresql.org/test3.htm Yup, like the 'boxes' ... one thing that is needed though, is 'fixed size' so that text doesn't wrap ...
----- Original-Nachricht ----- Von: "Marc G. Fournier" <scrappy@postgresql.org> An: Andreas GrabmXller <webmaster@letzplay.de> CC: scrappy@postgresql.org, dpage@vale-housing.co.uk, pgsql-www@postgresql.org Datum: Monday, November 10, 2003 03:50 PM Betreff: [pgsql-www] Idea for a new index page > On Mon, 10 Nov 2003, Andreas GrabmXller wrote: > > > ----- Original-Nachricht ----- > > Von: "Dave Page" <dpage@vale-housing.co.uk> > > An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" <webmaster@letzplay.de> > > CC: <pgsql-www@postgresql.org> > > Datum: Monday, November 10, 2003 10:01 AM > > Betreff: [pgsql-www] Idea for a new index page > > > > > > -----Original Message----- > > > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > > > > Sent: 10 November 2003 03:38 > > > > To: Andreas GrabmXller > > > > Cc: pgsql-www@postgresql.org > > > > Subject: Re: [pgsql-www] Idea for a new index page > > > > > > > > > > > > works for me ... I didn't like the 'overscrolling' that > > > > happened on the old site, then keeps it nice and condense ... > > > > > > My main dislike is the short links for the news/events. They aren't > > > visually separate from the rest of the page if you see what I mean. How > > > about making those cell backgrounds a light gray? > > > > > > Regards, Dave. > > > > What about this? > > > > http://wwwdevel2.postgresql.org/test3.htm > > Yup, like the 'boxes' ... one thing that is needed though, is 'fixed size' > so that text doesn't wrap ... I added a little white-space:nowrap for the cells... this keeps the cells variable size as much as possible but preservesthe text wrapping... Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
Did I send that directly to you? Sorry, didn't mean to. Is there any reason why reply-to isn't set to the list? Or am I just missing something? (The latter could definitely be the case.) On Monday, November 10, 2003, at 11:56 PM, Marc G. Fournier wrote: >>> Yup, like the 'boxes' ... one thing that is needed though, is 'fixed >>> size' >>> so that text doesn't wrap ... >> >> You mean so you lose the hanging indent list-effect? Haven't looked at >> the markup, but should be a snap. > > its generally just a matter of putting a fixed width onto your > <TABLE> element ... Or structure the list as a list and replace the bullets with whatever you like. Then it'd still reflow.
On Mon, 2003-11-10 at 07:23, Andreas Grabmüller wrote: > ----- Original-Nachricht ----- > Von: "Dave Page" <dpage@vale-housing.co.uk> > An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" <webmaster@letzplay.de> > CC: <pgsql-www@postgresql.org> > Datum: Monday, November 10, 2003 10:01 AM > Betreff: [pgsql-www] Idea for a new index page > > > > -----Original Message----- > > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > > > Sent: 10 November 2003 03:38 > > > To: Andreas GrabmXller > > > Cc: pgsql-www@postgresql.org > > > Subject: Re: [pgsql-www] Idea for a new index page > > > > > > > > > works for me ... I didn't like the 'overscrolling' that > > > happened on the old site, then keeps it nice and condense ... > > > > My main dislike is the short links for the news/events. They aren't > > visually separate from the rest of the page if you see what I mean. How > > about making those cell backgrounds a light gray? > > > > Regards, Dave. > > What about this? > > http://wwwdevel2.postgresql.org/test3.htm > This is better, as it gives a clearer differentiation between news and events (which I think we need on the main site now) but I think the amount of screen real estate devoted to first time visitors is too much, and relegating regular contributors to doing "extra clicks" to get news summaries seems like a downside to me. I'd much rather see a small paragraph on "what is postgresql?" under the top left banner ad (most likely place for a first time visitor to look) with a few links in that section for "lean more" and/or "who we are" type links. then we could expanded the main piece back into allowing summaries for news items and move the events item someplace else. if we ever get around to listing recurring events properly, and things like user group meetings, we're going to need more space than what we are allowing now. I also am not sure I agree with the value of the "current versions"... one 7.4 is released, how would this be updated? Stable = 7.4, Beta = cvs or 7.5?, Deprecated = 7.3.4? I'd rather not say that 7.3.4 is deprecated when there is still the potential for a 7.3.5... I do see some bonus in having a "current stable version = 7.3.4" and a "current beta version = 7.4RC1" which gets updated to a 7.4 and drops the beta bit after release... though honestly with better news management even this bonus would probably go away Also maybe the international sites should go under the language choice drop down. I probably put the link for mirrors back in the main menu, and drop the "website" box. Robert Treat -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
On Mon, 10 Nov 2003, Andreas GrabmXller wrote: > ----- Original-Nachricht ----- > Von: "Marc G. Fournier" <scrappy@postgresql.org> > An: Andreas GrabmXller <webmaster@letzplay.de> > CC: scrappy@postgresql.org, dpage@vale-housing.co.uk, pgsql-www@postgresql.org > Datum: Monday, November 10, 2003 03:50 PM > Betreff: [pgsql-www] Idea for a new index page > > > On Mon, 10 Nov 2003, Andreas GrabmXller wrote: > > > > > ----- Original-Nachricht ----- > > > Von: "Dave Page" <dpage@vale-housing.co.uk> > > > An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" <webmaster@letzplay.de> > > > CC: <pgsql-www@postgresql.org> > > > Datum: Monday, November 10, 2003 10:01 AM > > > Betreff: [pgsql-www] Idea for a new index page > > > > > > > > -----Original Message----- > > > > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > > > > > Sent: 10 November 2003 03:38 > > > > > To: Andreas GrabmXller > > > > > Cc: pgsql-www@postgresql.org > > > > > Subject: Re: [pgsql-www] Idea for a new index page > > > > > > > > > > > > > > > works for me ... I didn't like the 'overscrolling' that > > > > > happened on the old site, then keeps it nice and condense ... > > > > > > > > My main dislike is the short links for the news/events. They aren't > > > > visually separate from the rest of the page if you see what I mean. How > > > > about making those cell backgrounds a light gray? > > > > > > > > Regards, Dave. > > > > > > What about this? > > > > > > http://wwwdevel2.postgresql.org/test3.htm > > > > Yup, like the 'boxes' ... one thing that is needed though, is 'fixed size' > > so that text doesn't wrap ... > > I added a little white-space:nowrap for the cells... this keeps the > cells variable size as much as possible but preserves the text > wrapping... Perfect, thanks ...
On Tue, 11 Nov 2003, Michael Glaesemann wrote: > Did I send that directly to you? Sorry, didn't mean to. Is there any > reason why reply-to isn't set to the list? Or am I just missing > something? (The latter could definitely be the case.) Reply-To is evil ... we've actually tried it a couple of times and had more headaches then it was worth ...
It's rumoured that Marc G. Fournier once said: > > > On Mon, 10 Nov 2003, Andreas GrabmXller wrote: > >> ----- Original-Nachricht ----- >> Von: "Dave Page" <dpage@vale-housing.co.uk> >> An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" >> <webmaster@letzplay.de> CC: <pgsql-www@postgresql.org> >> Datum: Monday, November 10, 2003 10:01 AM >> Betreff: [pgsql-www] Idea for a new index page >> >> > > -----Original Message----- >> > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] >> > > Sent: 10 November 2003 03:38 >> > > To: Andreas GrabmXller >> > > Cc: pgsql-www@postgresql.org >> > > Subject: Re: [pgsql-www] Idea for a new index page >> > > >> > > >> > > works for me ... I didn't like the 'overscrolling' that >> > > happened on the old site, then keeps it nice and condense ... >> > >> > My main dislike is the short links for the news/events. They aren't >> > visually separate from the rest of the page if you see what I mean. >> > How about making those cell backgrounds a light gray? >> > >> > Regards, Dave. >> >> What about this? >> >> http://wwwdevel2.postgresql.org/test3.htm > > Yup, like the 'boxes' ... one thing that is needed though, is 'fixed > size' so that text doesn't wrap ... Yup, don't think it'll work on 800x600 either. It's left-right scrolling on the 1024x768 montior with a very nearly fully screen browser that I'm using. /D
----- Original-Nachricht ----- Von: "Dave Page" <dpage@vale-housing.co.uk> An: <scrappy@postgresql.org> CC: <webmaster@letzplay.de>, <pgsql-www@postgresql.org> Datum: Monday, November 10, 2003 06:59 PM Betreff: [pgsql-www] Idea for a new index page > It's rumoured that Marc G. Fournier once said: > > > > > > On Mon, 10 Nov 2003, Andreas GrabmXller wrote: > > > >> ----- Original-Nachricht ----- > >> Von: "Dave Page" <dpage@vale-housing.co.uk> > >> An: "Marc G. Fournier" <scrappy@postgresql.org>, "Andreas GrabmXller" > >> <webmaster@letzplay.de> CC: <pgsql-www@postgresql.org> > >> Datum: Monday, November 10, 2003 10:01 AM > >> Betreff: [pgsql-www] Idea for a new index page > >> > >> > > -----Original Message----- > >> > > From: Marc G. Fournier [mailto:scrappy@postgresql.org] > >> > > Sent: 10 November 2003 03:38 > >> > > To: Andreas GrabmXller > >> > > Cc: pgsql-www@postgresql.org > >> > > Subject: Re: [pgsql-www] Idea for a new index page > >> > > > >> > > > >> > > works for me ... I didn't like the 'overscrolling' that > >> > > happened on the old site, then keeps it nice and condense ... > >> > > >> > My main dislike is the short links for the news/events. They aren't > >> > visually separate from the rest of the page if you see what I mean. > >> > How about making those cell backgrounds a light gray? > >> > > >> > Regards, Dave. > >> > >> What about this? > >> > >> http://wwwdevel2.postgresql.org/test3.htm > > > > Yup, like the 'boxes' ... one thing that is needed though, is 'fixed > > size' so that text doesn't wrap ... > > Yup, don't think it'll work on 800x600 either. It's left-right scrolling > on the 1024x768 montior with a very nearly fully screen browser that I'm > using. > /D You're right it's not working with 800x600, but there is no scrolling with 1024x768 here... I have created a version which works with 800x600 at http://wwwdevel2.postgresql.org/test4.htm but I don't really like it on higher resolutions. Michael, is it possible to choose the layout based on the browser size using XHTML/CSS or Javascript? So any user with 1024x768sees test3.htm but any user with a lower resolution sees test4.htm? It's just the two boxes to change... Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
From: Michael Glaesemann <grzm@myrealbox.com> Date: Tue Nov 11, 2003 12:37:01 PM Asia/Tokyo To: <webmaster@letzplay.de> Subject: Re: [pgsql-www] Idea for a new index page Erg. The past week has been frought with email ineptness on my part. If a variation on this comes through, please forgive. On Tuesday, November 11, 2003, at 07:42 AM, Andreas Grabmüller wrote: > Michael, is it possible to choose the layout based on the browser size > using XHTML/CSS or Javascript? So any user with 1024x768 sees > test3.htm but any user with a lower resolution sees test4.htm? It's > just the two boxes to change... It's definitely possible to switch style sheets using JavaScript and straightforward XHTML and CSS. The most common usage of this I've seen is for providing serif and sans-serif versions. As for detecting browser size, nothing I know of in XHTML or CSS would prevent you from doing this, but as far as I know they're not going to do it for you. However, I'm wondering whether or not this is necessary. From what I gather, you're worried about the page being too wide because the Latest News and Upcoming Events boxes are fixed width. When I first saw the text*.htm examples, I put together similar structures on my local machine. They resize very nicely, side by side, text reflowing and preserving hanging indents on the lists, using · as bullets, down to a width of about 850px. After that, you start losing the right sidebar. And that might not be a hard limit. I haven't really tweaked it much. I'd like to be able to show these examples, but I don't have a host. Should I upload them to CVS? (Am I even able to? Do I require a GBorg membership?) Michael
Hi Michael, well, I don't think I may give you shell access to the VM, and it does not make sense to add this sampe-test-pages to CVS,so maybe for the beginning it might be the easiest way to send this to my email adress (webmaster@letzplay.de) and Iwill upload it to the webspace... PS: If you want to reply to the list, just click "Reply to all" in your email program and keep the To: and CC: fields asthey are, they will do fine :) Mit freundlichen Grüßen Andreas Grabmüller ----- Original-Nachricht ----- Von: "Michael Glaesemann" <grzm@myrealbox.com> An: pgsql-www@postgresql.org Datum: Tuesday, November 11, 2003 07:24 AM Betreff: [pgsql-www] Idea for a new index page > From: Michael Glaesemann <grzm@myrealbox.com> > Date: Tue Nov 11, 2003 12:37:01 PM Asia/Tokyo > To: <webmaster@letzplay.de> > Subject: Re: [pgsql-www] Idea for a new index page > > Erg. The past week has been frought with email ineptness on my part. If > a variation on this comes through, please forgive. > > On Tuesday, November 11, 2003, at 07:42 AM, Andreas Grabmüller wrote: > > Michael, is it possible to choose the layout based on the browser size > > using XHTML/CSS or Javascript? So any user with 1024x768 sees > > test3.htm but any user with a lower resolution sees test4.htm? It's > > just the two boxes to change... > > It's definitely possible to switch style sheets using JavaScript and > straightforward XHTML and CSS. The most common usage of this I've seen > is for providing serif and sans-serif versions. As for detecting > browser size, nothing I know of in XHTML or CSS would prevent you from > doing this, but as far as I know they're not going to do it for you. > > However, I'm wondering whether or not this is necessary. From what I > gather, you're worried about the page being too wide because the Latest > News and Upcoming Events boxes are fixed width. When I first saw the > text*.htm examples, I put together similar structures on my local > machine. They resize very nicely, side by side, text reflowing and > preserving hanging indents on the lists, using · as bullets, down > to a width of about 850px. After that, you start losing the right > sidebar. And that might not be a hard limit. I haven't really tweaked > it much. > > I'd like to be able to show these examples, but I don't have a host. > Should I upload them to CVS? (Am I even able to? Do I require a GBorg > membership?) > > Michael > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
Hi Andreas On Tuesday, November 11, 2003, at 05:14 PM, Andreas Grabmüller wrote: > well, I don't think I may give you shell access to the VM, From my behavior to date (besides the fact you don't know me from Adam), I wouldn't even trust me with access to the refrigerator. I'm considering revoking my access from my mail app. > and it does not make sense to add this sampe-test-pages to CVS, > so maybe for the beginning it might be the easiest way to send this to > my email adress (webmaster@letzplay.de) and I will upload it to the > webspace... Sounds good. Like I mentioned before, I modified what appears to be older versions. If there's something newer in the CVS, I'll update those, or I can just send you what I've got. Which would you rather I do? > PS: If you want to reply to the list, just click "Reply to all" in > your email program and keep the To: and CC: fields as they are, they > will do fine :) *sheepish grin* thanks! (so *that's* what reply to all is for :) Thanks for your patience. Michael
> -----Original Message----- > From: Andreas Grabmüller [mailto:webmaster@letzplay.de] > Sent: 10 November 2003 22:43 > To: scrappy@postgresql.org; Dave Page > Cc: webmaster@letzplay.de; pgsql-www@postgresql.org > Subject: Re: [pgsql-www] Idea for a new index page > > > You're right it's not working with 800x600, but there is no > scrolling with 1024x768 here... Sorry, I wasn't clear. I was on 1024x768, but my browser wasn't quite full screen. > I have created a version which works with 800x600 at > http://wwwdevel2.postgresql.org/test4.htm > but I don't really like it on higher resolutions. I'm at 1600x1280 now, and whilst it does look a little odd at full screen, it looks a lot better smaller. The point of mehave a 21" monitor of course is that I can fit lots on screen, so normally my browser windows are only 800 or so wide. I like this version... > Michael, is it possible to choose the layout based on the > browser size using XHTML/CSS or Javascript? So any user with > 1024x768 sees test3.htm but any user with a lower resolution > sees test4.htm? It's just the two boxes to change... What happens if I resize my browser? Regards, Dave.
----- Original-Nachricht ----- Von: "Dave Page" <dpage@vale-housing.co.uk> An: <webmaster@letzplay.de>, <scrappy@postgresql.org> CC: <pgsql-www@postgresql.org> Datum: Tuesday, November 11, 2003 09:56 AM Betreff: [pgsql-www] Idea for a new index page > > Michael, is it possible to choose the layout based on the > > browser size using XHTML/CSS or Javascript? So any user with > > 1024x768 sees test3.htm but any user with a lower resolution > > sees test4.htm? It's just the two boxes to change... > > What happens if I resize my browser? > > Regards, Dave. Well, I don't really know Javascript, so I searched google a bit and it seems there is a event handler called onResize forthe window element in Javascript 1.2 so we should be able to use this to re-choose the layout after the window size haschanged... Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
> -----Original Message----- > From: Andreas Grabmüller [mailto:webmaster@letzplay.de] > Sent: 11 November 2003 09:09 > To: webmaster@letzplay.de; scrappy@postgresql.org; Dave Page > Cc: pgsql-www@postgresql.org > Subject: Re: [pgsql-www] Idea for a new index page > > ----- Original-Nachricht ----- > Von: "Dave Page" <dpage@vale-housing.co.uk> > An: <webmaster@letzplay.de>, <scrappy@postgresql.org> > CC: <pgsql-www@postgresql.org> > Datum: Tuesday, November 11, 2003 09:56 AM > Betreff: [pgsql-www] Idea for a new index page > > > > Michael, is it possible to choose the layout based on the browser > > > size using XHTML/CSS or Javascript? So any user with > > > 1024x768 sees test3.htm but any user with a lower resolution sees > > > test4.htm? It's just the two boxes to change... > > > > What happens if I resize my browser? > > > > Regards, Dave. > > Well, I don't really know Javascript, so I searched google a > bit and it seems there is a event handler called onResize for > the window element in Javascript 1.2 so we should be able to > use this to re-choose the layout after the window size has changed... No Javascript please, except perhaps for form validation. Regardsa, Dave.
----- Original-Nachricht ----- Von: "Dave Page" <dpage@vale-housing.co.uk> An: <webmaster@letzplay.de>, <scrappy@postgresql.org> CC: <pgsql-www@postgresql.org> Datum: Tuesday, November 11, 2003 10:30 AM Betreff: [pgsql-www] Idea for a new index page > > -----Original Message----- > > From: Andreas Grabmüller [mailto:webmaster@letzplay.de] > > Sent: 11 November 2003 09:09 > > To: webmaster@letzplay.de; scrappy@postgresql.org; Dave Page > > Cc: pgsql-www@postgresql.org > > Subject: Re: [pgsql-www] Idea for a new index page > > > > ----- Original-Nachricht ----- > > Von: "Dave Page" <dpage@vale-housing.co.uk> > > An: <webmaster@letzplay.de>, <scrappy@postgresql.org> > > CC: <pgsql-www@postgresql.org> > > Datum: Tuesday, November 11, 2003 09:56 AM > > Betreff: [pgsql-www] Idea for a new index page > > > > > > Michael, is it possible to choose the layout based on the browser > > > > size using XHTML/CSS or Javascript? So any user with > > > > 1024x768 sees test3.htm but any user with a lower resolution sees > > > > test4.htm? It's just the two boxes to change... > > > > > > What happens if I resize my browser? > > > > > > Regards, Dave. > > > > Well, I don't really know Javascript, so I searched google a > > bit and it seems there is a event handler called onResize for > > the window element in Javascript 1.2 so we should be able to > > use this to re-choose the layout after the window size has changed... > > No Javascript please, except perhaps for form validation. > > Regardsa, Dave. Why not? As long as everything works if the user has disabled Javascript, I see no reason not to use it... Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
> -----Original Message----- > From: Andreas Grabmüller [mailto:webmaster@letzplay.de] > Sent: 11 November 2003 09:47 > To: webmaster@letzplay.de; scrappy@postgresql.org; Dave Page > Cc: pgsql-www@postgresql.org > Subject: Re: [pgsql-www] Idea for a new index page > > > Why not? As long as everything works if the user has disabled > Javascript, I see no reason not to use it... Precisely. If it works when the user has disabled it in the first place, why use it? Regards, Dave.
----- Original-Nachricht ----- Von: "Dave Page" <dpage@vale-housing.co.uk> An: <webmaster@letzplay.de>, <scrappy@postgresql.org> CC: <pgsql-www@postgresql.org> Datum: Tuesday, November 11, 2003 10:49 AM Betreff: [pgsql-www] Idea for a new index page > > -----Original Message----- > > From: Andreas Grabmüller [mailto:webmaster@letzplay.de] > > Sent: 11 November 2003 09:47 > > To: webmaster@letzplay.de; scrappy@postgresql.org; Dave Page > > Cc: pgsql-www@postgresql.org > > Subject: Re: [pgsql-www] Idea for a new index page > > > > > > Why not? As long as everything works if the user has disabled > > Javascript, I see no reason not to use it... > > Precisely. If it works when the user has disabled it in the first place, why use it? > > Regards, Dave. That's not what I mean. What I mean is the following: - The page gets shown as in test4.htm - If Javascript is enabled and the window size is > 800x600, it gets switched to something like test3.htm - If Javascript is enabled and the User resizes the window, the correct css file (test3 or test4) gets choosen again. That means, if the user does not support Javascript he always gets the test4 layout (which is definitially working). It justmay look a bit better if Javascript is enabled... Mit freundlichen Grüßen Andreas Grabmüller -- LetzPlay.de | Freemail: http://www.letzplay.de/mail | Forenhosting: http://www.letzplay.de/foren
> -----Original Message----- > From: Andreas Grabmüller [mailto:webmaster@letzplay.de] > Sent: 11 November 2003 10:03 > To: webmaster@letzplay.de; scrappy@postgresql.org; Dave Page > Cc: pgsql-www@postgresql.org > Subject: Re: [pgsql-www] Idea for a new index page > > > That's not what I mean. What I mean is the following: > > - The page gets shown as in test4.htm > - If Javascript is enabled and the window size is > 800x600, > it gets switched to something like test3.htm > - If Javascript is enabled and the User resizes the window, > the correct css file (test3 or test4) gets choosen again. > > That means, if the user does not support Javascript he always > gets the test4 layout (which is definitially working). It > just may look a bit better if Javascript is enabled... Hmmm, I know what you mean, but I'm still not convinced. Don't supppose it'll hurt in this case though, as long as the scriptis v.short (every byte counts). Regards, Dave.
Erg. The past week has been frought with email ineptness on my part. If a variation on this comes through, please forgive. On Tuesday, November 11, 2003, at 07:42 AM, Andreas Grabmüller wrote: > Michael, is it possible to choose the layout based on the browser size > using XHTML/CSS or Javascript? So any user with 1024x768 sees > test3.htm but any user with a lower resolution sees test4.htm? It's > just the two boxes to change... It's definitely possible to switch style sheets using JavaScript and straightforward XHTML and CSS. The most common usage of this I've seen is for providing serif and sans-serif versions. As for detecting browser size, nothing I know of in XHTML or CSS would prevent you from doing this, but as far as I know they're not going to do it for you. However, I'm wondering whether or not this is necessary. From what I gather, you're worried about the page being too wide because the Latest News and Upcoming Events boxes are fixed width. When I first saw the text*.htm examples, I put together similar structures on my local machine. They resize very nicely, side by side, text reflowing and preserving hanging indents on the lists, using · as bullets, down to a width of about 850px. After that, you start losing the right sidebar. And that might not be a hard limit. I haven't really tweaked it much. I'd like to be able to show these examples, but I don't have a host. Should I upload them to CVS? (Am I even able to? Do I require a GBorg membership?) Michael