Re: More... links in Mallard



How about something like a global variable, something that will appear
on every page, only if it satisfies a specific condition, and that
condition we can define in a doc. that needs the More... option.

-- 
Regards,
Vikram Dhillon

~~~
There are lots of Linux users who don't care how the kernel works, but
only want to use it. That is a tribute to how good Linux is.
-- Linus Torvalds

On Sat, Jan 23, 2010 at 12:41 PM, Milo Casagrande <miloc gnome org> wrote:
> Hi Phill,
>
> 2010/1/23 Phil Bull <philbull gmail com>:
>>
>> The two ways I've tried so far aren't very satisfactory. One is to add a
>> link going to the main guide page alongside the other links. The problem
>> is, you need to manually put it in the right order (preferably at the
>> end of the section). This feels clumsy.
>>
>> The other way is to add some text with a link into each section on the
>> front page. The problem with this is that the link is at the top rather
>> than the bottom, and is a static rather than dynamic link.
>>
>> Any ideas?
>
> Can you do something like this:
>
> <!-- This is the index.page -->
> <section id="blah" style="2column">
>  <title>Blah Topics</title>
>  <section>
>  <p><link type="guide" xref="PUT_ID_OF_PAGE">More...</link></p>
>  </section>
> </section>
>
> The problem with this is that you get a small section with its top
> small-grey line (the one under the title), and is a little bit
> indented. But it will stay at the bottom of your section.
>
> Maybe it is possible to add a style to the section that will not have
> the small grey-line at the top if the title is not there...
>
> --
> Milo Casagrande <miloc gnome org>
> _______________________________________________
> gnome-doc-list mailing list
> gnome-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-doc-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]