You know, that's a very good point... putting it inside the if-block so that it only runs on pages where the message is showing.
Tony, you're a legend. :) Thanks. 2008/7/31 Tony McNulty <[EMAIL PROTECTED]>: > But that doesn't stop you from adding more css in the markup for this > feature, to override the default styles. > > ________________________________ > From: " " <[EMAIL PROTECTED]> > Date: Thu, 31 Jul 2008 11:09:30 +0400 > To: <wsg@webstandardsgroup.org> > Subject: Re: [WSG] 100% height over existing page > no JS - no decision ;) > > 2008/7/31 Tony McNulty <[EMAIL PROTECTED]> >> >> Hmm, >> >> What about just making it the size of the viewport, and stopping >> scrolling? Maybe an overflow: hidden on the body? >> >> Cheers, >> >> Tony >> -----Original Message----- >> From: "Seona Bellamy" <[EMAIL PROTECTED]> >> >> Date: Thu, 31 Jul 2008 16:48:48 >> To: <wsg@webstandardsgroup.org> >> Subject: Re: [WSG] 100% height over existing page >> >> >> That's already what I'm doing. Not the problem here, though. The issue >> isn't whether the overlay and disclaimer appear - I have that bit >> working just fine. The issue is making the overlay extend all the way >> to the bottom of the page if the page is longer than the viewport. >> >> Cheers, >> >> Seona. >> >> 2008/7/31 Luke Hoggett <[EMAIL PROTECTED]>: >> > Doesn't have to be a separate divert page, you can just use the session >> > variable to decided whether the "overlay" element is displayed on each >> > page >> > >> > regards >> > Luke >> > >> > Seona Bellamy wrote: >> > >> > What, and divert them to the "agreement" page if they'rve not agreed? >> > Hmm... not sure that I'll get the go-ahead to do that. We're working >> > to some fairly tight design requirements. >> > >> > I've already got it saving the session variable once they agree, so >> > that they only get bothered once. >> > >> > Cheers, >> > >> > Seona. >> > >> > 2008/7/31 Luke Hoggett <[EMAIL PROTECTED]>: >> > >> > >> > Depending on what/whether you're using anything server side, just set a >> > session variable that records whether the person has agreed to the >> > terms, do >> > this across every page and no worries for Google or any other entry that >> > doesn't come from the front page. >> > >> > regards >> > Luke >> >> >> ******************************************************************* >> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >> Help: [EMAIL PROTECTED] >> ******************************************************************* >> >> >> ******************************************************************* >> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >> Help: [EMAIL PROTECTED] >> ******************************************************************* > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************