Hi, 

when I copied the macro out of $:/core/ui/PageMacros as per Jeremy's 
suggestion, the footnotes no longer work. Do I need to do anything else as 
well?
Thanks, Jon.

On Monday, 15 September 2014 13:14:09 UTC+1, Jeremy Ruston wrote:
>
> Hi BirtheC
>
> > Did you ad it to $:/core/ui/PageMacros? It might have been overwritten.
>
> Since the introduction of global macros it is not recommended to modify 
> the core shadow tiddler "$:/core/ui/PageMacros". Instead, place your 
> macros in a new tiddler that is tagged $:/tags/Macros.
>
> Best wishes
>
> Jeremy
>
>
> On Mon, Sep 15, 2014 at 12:59 PM, Birthe C <strikke...@googlemail.com 
> <javascript:>> wrote:
>
>> Hi Ken Gray
>> Did you ad it to $:/core/ui/PageMacros? It might have been overwritten.
>>
>> Also you have to change the code:
>>
>> define ref(label)
>> <$button popup="$:/state/$label$" class="tc-btn-invisible tc-slider"><sup 
>> style="color:green">$label$</sup></$button>
>> \end
>>
>> \define definition(label,text)
>> <$reveal type="popup" state="$:/state/$label$" animate="yes">
>> <div class="tc-drop-down">
>> <dl>
>> <dt>$label$</dt>
>> <dd>$text$</dd>
>> </dl>
>> </div>
>> </$reveal>
>> \end
>>
>> \define footnote(label,text)
>> <<ref "$label$">>
>> <<definition "$label$" "$text$">>
>> \end
>>
>> \define footnotes(label,text)
>> <<definition "$label$" "$text$">>
>> <sub><span style="color:green">$label$ : </span> $text$</sub>
>> \end
>>
>>
>>
>> PopupStyle as Danielo wrote.
>>
>> It seems to be working in my TW 5.0.17 now.
>>
>>
>>
>> Birthe
>>
>>
>> Den mandag den 15. september 2014 11.48.12 UTC+2 skrev Danielo Rodríguez:
>>
>>> Probably is because the line:
>>>
>>> tw-drop-down
>>>
>>>
>>> try changing it to tc-drop-down. 
>>>
>>> So the full code should look like:
>>>
>>> define ref(label)
>>> <$button popup="$:/state/$label$" class="btn-invisible tw-slider"><sup 
>>> style="color:green">$label$</sup></$button>
>>> \end
>>>
>>> \define definition(label,text)
>>> <$reveal type="popup" state="$:/state/$label$" animate="yes">
>>> <div class="tc-drop-down">
>>> <dl>
>>> <dt>$label$</dt>
>>> <dd>$text$</dd>
>>> </dl>
>>> </div>
>>> </$reveal>
>>> \end
>>>
>>> \define footnote(label,text)
>>> <<ref "$label$">>
>>> <<definition "$label$" "$text$">>
>>> \end
>>>
>>> \define footnotes(label,text)
>>> <<definition "$label$" "$text$">>
>>> <sub><span style="color:green">$label$ : </span> $text$</sub>
>>> \end
>>>
>>>
>>> You should change the CSS also.It is contained on the popupStyle tiddler 
>>> to look like:
>>>
>>> .tc-drop-down dd { max-width:300px; word-break: break; 
>>> white-space:normal; padding :0;}
>>>
>>> tc-drop-down a {display:inline;padding:0}
>>>
>>>
>>> Let me know about the experience.
>>>
>>> El jueves, 11 de septiembre de 2014 19:49:54 UTC+2, Ken Gray escribió:
>>>>
>>>> so I've been working with Danielo's PopupFootnotes and have them 
>>>> working except that the popup window doesn't work; it just puts the text 
>>>> right over whatever is there.  
>>>> anyone else figure this out with B16?
>>>> Thanks.
>>>>
>>>> http://braintest.tiddlyspot.com/#PopupFootnotes:[[Welcome%
>>>> 20to%20my%20testing%20Brain!]]%20Index%20PopupFootnotes 
>>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com <javascript:>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to