Dear Alain,

Thank you for your patience!

Regards,

Jens

On Feb 1, 2012, at 9:22 PM, Alain Couthures wrote:

> Hello Jens,
> 
> Since rev. 513, global JS elements have been renamed to avoid name conflicts 
> with frameworks.
> 
> Could you please replace "show" by "XsltForms_browser.show"?
> 
> Thank you for your feedbacks!
> 
> -Alain
> 
> Le 01/02/2012 11:26, Jens Østergaard Petersen a écrit :
>> Dear list,
>> 
>> This should be a simple question ….
>> 
>> I am using revision 522, with eXist trunk.
>> 
>> I use some innocent javascript code instead of the built-in xforms hints.
>> 
>> <span class="xforms-hint">
>>         <span onmouseover="show(this, 'hint', true)" onmouseout="show(this, 
>> 'hint', false)"
>>             class="xforms-hint-icon"/>
>>         <div class="xforms-hint-value">
>>             <xf:output mediatype="application/xhtml+xml" incremental="true"
>>                 
>> ref="instance('code-tables')/code-table[code-table-name='hint-code']/items/item[value='name']/help"
>>             />
>>         </div>
>>     </span>
>> 
>> or (without use of output):
>> 
>> <span class="xforms-hint">
>>         <span onmouseover="show(this, 'hint', true)" onmouseout="show(this, 
>> 'hint', false)"
>>             class="xforms-hint-icon"/>
>>         <div class="xforms-hint-value">
>>             <p>  Use Topic to indicate any primary topical/abstract subjects 
>> that do not fit into the
>>                 Geographic, Temporal, Title Information, or Name subfields. 
>> In general, abstract
>>                 nouns should be used. While it is highly recommended that 
>> subject values be parsed
>>                 into subfields, they may also be listed as a string, divided 
>> by e.g. dashes, as in
>>                 Library of Congress Subject Headings.</p>
>>         </div>
>>     </span>
>> 
>> Somehow this popup has ceased to work sometime after revision 511. With 522, 
>> only the icon is displayed. What could be the reason for this?
>> 
>> I insert these "hints" after the field label, thereby getting a much nicer 
>> display of my (at times quite lengthy) hints texts. The hints don't move 
>> around on the screen like they do when they are attached to the right of 
>> fields (which have varying length) and they can therefore easily have a 
>> consistent greater width.
>> 
>> Cheers,
>> 
>> Jens
>> 
>> PS: The "advertisement" in the 522 profiler should be updated.
>> 
> 
> 


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to