Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@minotaur.apache.org Received: (qmail 91948 invoked from network); 21 Feb 2009 09:27:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2009 09:27:55 -0000 Received: (qmail 67392 invoked by uid 500); 21 Feb 2009 09:27:55 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 67380 invoked by uid 500); 21 Feb 2009 09:27:55 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 67369 invoked by uid 99); 21 Feb 2009 09:27:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Feb 2009 01:27:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of janne.jalkanen@ecyrd.com designates 193.64.5.122 as permitted sender) Received: from [193.64.5.122] (HELO mail.ecyrd.com) (193.64.5.122) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Feb 2009 09:27:45 +0000 Received: from [192.168.0.12] (cs181005170.pp.htv.fi [82.181.5.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTPSA id A179797C05E for ; Sat, 21 Feb 2009 11:27:25 +0200 (EET) Message-Id: <2C535340-701A-441A-923F-5B5087057EAB@ecyrd.com> From: Janne Jalkanen To: jspwiki-user@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: legends Date: Sat, 21 Feb 2009 11:27:20 +0200 References: X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Yes, so this is something which we might want to consider for 3.0 (but not 2.x, since that still supports IE6). /Janne On 21 Feb 2009, at 00:24, Andrew Jaquith wrote: > Yeah, but we're done with IE6, no? :) > > On Fri, Feb 20, 2009 at 5:12 PM, Janne Jalkanen > wrote: >> >> I can't figure out a way to do this easily with pure CSS. With >> Javascript >> rewriting yes (we do that already for a few elements), but not pure >> CSS. >> >> Of course, quick googling shows that the -element seems to >> enjoy >> rather variable support, especially in older browsers (including >> IE6). >> >> /Janne >> >> On 20 Feb 2009, at 15:41, Bob Paige wrote: >> >>> I saw an interesting wiki markup feature on FlexWiki this morning >>> and >>> wonder >>> the simplest way to implement something similar on JSPWiki. >>> >>> The effect is to display an HTML legend ( >>> http://www.w3schools.com/TAGS/tag_legend.asp). They used it to >>> frame a >>> list >>> of links or box of text. Similar to the %%information%% and % >>> %warning%% >>> styles, I guess. >>> >>> The markup was pretty simple: >>> >>> Some_Legend_Caption: whatever I want listed in the box, [even links] >>> >>> So the syntax seemed to be any single word followed by a ':' was >>> displayed >>> as a legend. >>> >>> Can we add legends through a new CSS style? I'm not familiar >>> enough with >>> CSS >>> to know if this is doable. >>> >>> The obvious solution would be to write a plugin that would >>> probably look >>> like this: >>> >>> [{Legend title='this is my title' whatever content I want here}] >>> >>> Thoughts? >>> >>> -- >>> Bobman >> >>