Ideally, if we're going to implement this at all, then I'd like to see the
same level of style switching support in IE as is available in FF, one way
or another, but I (personally) don't have a problem with the feature being
FF-specific.

Presumably the OverrideStylesheet config option still works alongside your
AlternateStylesheet option? Additionally, I'd go with AlternateStyleSheets
if you can specify more than one.

I like the "chocolate" and "lemon" descriptions :o)

Derek.


On 8/15/07, Nathan Jones <[EMAIL PROTECTED]> wrote:
>
> On 8/15/07, Derek Lakin <[EMAIL PROTECTED]> wrote:
> > What do you mean by "support for alternate stylesheets"? Do you mean
> being
> > able to switch between available templates?
>
> In FF, there's the view->Page Style menu that shows all the style
> sheets that are available on the page... you group them essentially by
> the "title" element. In our current CSS setup, there is no title
> element, so the browsers interpret this as "use this/these always"
> (depending on if the OverrideStylesheet config or Stylesheet
> TopicProperty is there or not)
>
> I added the <AlternateStylesheet> element to the config and now it
> allows you to specify 0-more alternates. These get decorated with the
> title="Style x" attribute when spit out to the browser....Their rel
> attribute is also changed to "alternate stylesheet" from "stylesheet."
>
> I was primarily just dorking around with stylesheets in general and
> started to look into FF's Page Style switcher to see how it was done
> and thought that I'd run it by the list before taking it any
> further.... There is a little bit of work to do to persist the users
> choice (FF only applies it to the current page and IE doesn't have a
> UI for selecting.) These problems have been addressed by others and I
> can use their solutions, but again, I thought that I'd test the waters
> first...
>
> It would be very easy to argue that this is a wasted effort, but it
> wouldn't be too much.... And then people could easily choose between
> your "chocolate" and "lemon" flavors :)
>
> -nathan
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to