Template talk:Navigation with columns
This template was considered for deletion on 29 January 2010. The result of the discussion was "redirect to {{Navbox with columns}}". |
Does not work in IE
[edit]The mere fact that the column style starts with "-moz" makes me wonder if this works in IE. A quick verification shows that IE6 does not supports this style. --ChoChoPK (球球PK) (talk | contrib) 12:36, 11 February 2007 (UTC)
- I'd hoped that "-moz-column-count:" addressed Mozilla browsers, while "column-count:" addressed IE and other browsers. If "-moz-column-count:X; column-count:X;" causes problems, I wonder why it appears in MediaWiki:Common.css... Thanks, though, for your report. Regards, David Kernow (talk) 20:56, 11 February 2007 (UTC)
The columns also don't work in Opera 9. Below are screenshots of {{Countries and territories of East Asia}} as of the 13 February 2007 edit, when it was converted to use {{Navigation with columns}}.
Firefox 2.0:
Internet Explorer 6.0:
Opera 9.02:
It appears that the CSS3 property column-count:X;
is not implemented in either of those two browsers. Since this affects at least two commonly used browsers, perhaps {{Navigation with columns}} should be redesigned before it becomes widely implemented. -- Zyxw 08:56, 19 February 2007 (UTC)
- I agree. Until the new CSS property is supported by most browsers, we either have to change this template, or not use it at all. --ChoChoPK (球球PK) (talk | contrib) 11:18, 19 February 2007 (UTC)
- See thread below. David (talk) 14:37, 19 February 2007 (UTC)
List of templates using {{Navigation with columns}}
[edit]Thought it might be useful to list these here. -- Zyxw 10:00, 19 February 2007 (UTC)
- Revised 03:34, 11 February 2007 – {{Countries and territories bordering the Mediterranean Sea}}
- Revised 04:13, 11 February 2007 – {{East Asia Summit}}
- Revised 09:38, 11 February 2007 – {{Countries and territories bordering the North Sea}}
- Revised 10:15, 11 February 2007 – {{Countries and territories bordering the Norwegian-Greenland-Barents Sea}}
- Revised 05:16, 13 February 2007 – {{Countries and territories of East Asia}}
- Thanks for the above. I'll revert/recode them soon (or find out if that's already been done!) and then remove this template. Pity these column styles can't be used. Regards, David Kernow (talk) 14:37, 19 February 2007 (UTC)
- ...have now reverted them for the time being. Hope all okay in Opera, IE, etc, David (talk) 14:56, 19 February 2007 (UTC)
Do not use template
[edit]Ok, based on the notes above, is there a way this template can be marked with a big ole "Do not use" or "not ready for prime time"? — MrDolomite • Talk 16:00, 19 February 2007 (UTC)
- Shouldn't (I hope!) now be needed, as I've recoded the template without the -moz-column-count and column-count styles. It still needs some tweaking (which I'm working on) so I haven't yet reapplied it to the templates above. Regards, David Kernow (talk) 18:11, 20 February 2007 (UTC)
below and belowstyle
[edit]How does one reduce the padding in the 'below' text? See User:Moondyne/temp. I'm trying to avoid the line break. —Moondyne 04:02, 27 April 2007 (UTC)
- Don't worry, I worked it out. —Moondyne 04:08, 27 April 2007 (UTC)
Doesn't work
[edit]Templates which use this template now show expanded and won't collapse in Safari. It worked fine few days back. Navbox generic has space before v d e and after show/hide. looks strange and not the same as other templates.--Pethr 03:35, 1 May 2007 (UTC)
- I think it must be something/s between these versions... I've just reverted the template to the April 21 version; do you see any improvement...? Thanks for the alert, David Kernow (talk) 05:49, 1 May 2007 (UTC)
- Back to normal now. However, navbox generic still doesn't look good. I can post screenshot if it would be helpful. Thank you.--Pethr 16:05, 1 May 2007 (UTC)
align setting
[edit]Is there an option to change the align? If not, can someone add it, there are pages where centred colms would look and work much better than the default left. Thanks --Philip Stevens 08:25, 8 July 2007 (UTC)
Bug fix
[edit]{{editprotected}}
A bug fix of mine was applied to Common.js, and it broke the expected behavior of this template.
Please replace:
div class="NavContent" style="margin:0.5em;
with:
div class="NavContent" style="display:none; margin:0.5em;
This will keep the box always closed even when there are not three or more NavFrames on a page. ←BenB4 11:17, 8 August 2007 (UTC)
- Done. Cheers. --MZMcBride 18:17, 8 August 2007 (UTC)
css fix
[edit]{{editprotected}}
Please replace <table style="background:transparent; cellspacing:0; cellpadding:0; text-align:left; {{{colstyle|}}}">
by <table style="background:transparent; text-align:left; {{{colstyle|}}}" cellspacing="0" cellpadding="0">
, cellspacing
and cellpadding
are attributes of the table
element, not css properties. Ms2ger 19:50, 11 August 2007 (UTC)
- Done. Cheers. --MZMcBride 21:34, 11 August 2007 (UTC)
collapsed
[edit]Is there a way to bypass the initial collapse of this template? MDSL2005 18:34, 16 August 2007 (UTC)
Use class="NavFrame collapsed", not style="display:none"
[edit]{{editprotected}} If you use style="display:none" for the NavContent divs, then users who do not have Javascript will be unable to see the content. Every instance of
<div class="NavFrame">...<div class="NavContent" style="display:none">...</div></div>
should be changed to
<div class="NavFrame collapsed">...<div class="NavContent">...</div></div>
—AlanBarrett (talk) 21:18, 4 February 2009 (UTC)
- Template is not protected.--Fuhghettaboutit (talk) 03:46, 5 February 2009 (UTC)
- Thanks for making the change. The template talk page had a protected notice, and I didn't check whether it was accurate. —AlanBarrett (talk) 07:34, 5 February 2009 (UTC)