Re: Re: French site is alive
Jack Catchpoole <[email protected]> Wed, 20 Oct 2004 18:47:53 +0200
| Newsgroups | gmane.comp.java.netbeans.webteam |
|---|---|
| Message-ID | <[email protected]> |
Vincent Brabant wrote: > In my french version of Mozilla, I have a main menu Affichage (Dispaly > in english ) > then ToolBars and then Navigation ToolBar, and I can always hide it, > always show it or show it only when necessary. Please check with your > version if it's enable or not. Aha, found it, cool! For reference in my Moz it is under View -> Show/Hide -> Site Navigation Bar. The default option was "Hide Always" so it never showed up previously. I changed it to "show as needed" and it works great for fr.nb.org. >> Hmmm ... I could probably add the javascript to the standard webmacro >> template used for module websites, in the very top navigation bar. So >> the language pulldown would work wherever "links" METAs existed. >> That would be ideal from my point of view, as the language choice >> mechanism would be the same everywhere. What do you think ? > > If you can do something to have the same mechanism everywhere, it's sure > it's welcome. OK, I will think about this more. >> If you need some special css definitions, maybe a better way is >> to use the normal www/netbeans.css, and also your own specialised >> items in eg fr.css. What do you think ? > > It was my fault. > Now I modifed the nebeans.css of fr.netbeans.org to include the > www.netbeans.org/netbeans.css and > add another css entry. OK, I see it is fixed. However, a better way to do this is just have your own special css file, with a unique filename (eg fr.css). Your pages will automatically use netbeans.css (it is added by webmacro, *if* there is not already a reference to "netbeans.css"), and you can specify your customisations as well by just using <link rel="stylesheet" type="text/css" href="http://fr.netbeans.org/fr.css"> This way if/when we update any css on nb.org, since you are using the root /netbeans.css file you will automatically see the changes without updating your css or html. > I really have no idea what's happens here. > if you look in cvs, the fr/www/index.html contains all necessary for > encoding and css stylesheet, but for any obscure reason, it's not taken > into account. It means that fr.netbeans.org is not containing the meta > tag for encoding nor the link for css file. > > Any idea why ? > > Same problems occurs with all main index.html pages of all projects. !? Really? I see fr.nb.org looks better now, how did you fix it ? -- Jack Catchpoole NetBeans/Sun Microsystems http://www.netbeans.org/