[Foundation-l] Alternating sitenotices is kinda confusing

Mike.lifeguard mikelifeguard at fastmail.fm
Tue Apr 14 18:02:45 UTC 2009


I don't think that's true... The id is centralNotice. Hiding that id
with css works if you add it to your monobook. Both the centralnotices
use that id (so far as I know), so making them use different ones would
then allow you to hide one but not the other, alternate them etc etc.

-Mike

On Tue, 2009-04-14 at 10:49 -0700, Robert Rohde wrote:

> On Tue, Apr 14, 2009 at 10:39 AM, Mike.lifeguard
> <mikelifeguard at fastmail.fm> wrote:
> > So far as I know, this is solved by givine each centralnotice a
> > different id (which is how they're identified to be hidden - or at least
> > that was the case in the past). Should be easy to do.
> 
> In the current implementation, hiding central notices is a binary
> state (either all hidden or all shown).  There is no ID.  Such an ID
> exists in the notices used locally at places like enwiki, but not the
> global notices.
> 
> http://upload.wikimedia.org/centralnotice/wikimedia/en/centralnotice.js?207xx
> 
> -Robert
> 
> 


More information about the foundation-l mailing list