Re: [Boost-docs] Pop-up comment callouts?

Subject: Re: [Boost-docs] Pop-up comment callouts?
From: David Abrahams (dave_at_[hidden])
Date: 2007-11-06 19:47:31


on Mon Nov 05 2007, Daniel James <daniel_james-AT-fmail.co.uk> wrote:

> Daniel James wrote:
>
>> I don't think it's possible with the current html - and probably not
>> even if the html is rearranged.
>
> Sorry, I made a mistake there - I think it can be done if the order of
> the elements is changed so the callout text is interleaved with the code
> (which is what I was talking about in my last mail). Something like:
>
> <pre>
> class x
> {
> public:
> <span class="callout"><img ...>Constructor<span>x() : n(0)
> {
> }
>
> // .....
> };
> </pre>
>
> Which is going to be terrible without css - so it's not very
> accessible.

Well maybe if you want to support browsers without css,

  <pre>
     class x
     {
     public:<span class="callout"><img ...>
         // comment saying whatever
         // you want to about the constructor
         <span>x() : n(0)
         {
         }

         // .....
     };
  </pre>

?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC