Thanks for responses.

I should have been clearer.  As usual.

The interactivity within LC is no problem.  The user effectively creates a 
‘dashboard’ profile representing their own assessment of multiple risk factors 
at play in a particular case.  Currently, a representation of the resultant 
profile can then be captured as static image or PDF.  To keep the dashboard as 
clean as possible, within the app, explanatory notes are hidden unless labels 
are clicked.  I was wondering if it might be possible to retain just this 
aspect of functionality.  So someone viewing previously saved profiles could 
access pop-up explanatory notes.  It seems to me that PDF could offer that, but 
1 it is hard to do and 2 many PDF viewers don’t offer the interactivity 
promised by Adobe.

I did briefly consider HTML, but wanted to deliver a single file as the output, 
and an image of the dashboard profile is essential.  

An alternative strategy I think is going to be preferable, would be to save 
locked cards to a ‘results’ stack as the output format.  I was kind of hoping 
minimally interactive profiles could be saved in a more generally accessible 
format, but it seems (once again) what is easy in LC is blimming tricky outside 
it.

Cheers,

David G

> On 19 Mar 2020, at 12:05 am, Alex Tweedly via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi David,
> 
> as Richard says, there are many unknowns, or unstated constraints, etc. - so 
> anyone who would try to give a detailed answer without more details is either:
> 
>  - brave
> 
>  - foolhardy  or
> 
>  - just foolish.
> 
> 
> So here I go .... you choose which of the above adjectives fits :-)
> 
> Possibly a suitable format is .... HTML.
> 
> Not just any old html, but a carefully selected subset / context.
> 
> Deliver a single, self-contained file of html. CSS and a small amount of JS 
> all inline within the file.
> 
> Put in enough JS library/framework  (i.e. probably lift a minimal subset of 
> Bootstrap or similar) to provide any kinds of interactivity you need such as 
> clever tooltips, etc.), and build a LC tool to create the elements you want 
> to place.
> 
> -- Alex.
> 
> P.S. If you need images then this "single page" idea breaks - you might need 
> to make images be "in the cloud" and require Internet connectivity.
> 
> 
> On 18/03/2020 18:00, David V Glasgow via use-livecode wrote:
>> Hi folks,
>> 
>> I would like to be able to generate a document from LC consisting of a 
>> single page (effectively a copy of a card) which can offer some basic 
>> interactivity.
>> 
>> I would be pretty happy if users can create a document that would display 
>> ‘tooltip-like’ explanatory notes if summary fields are clicked.
>> 
>> I couldn’t make any sense of the interactivity offered by PDF.  I did a bit 
>> better with ePub, but the emphasis seems to be on links, animation and video 
>> etc, which is far more than I want.
>> 
>> Any advice or suggestions?
>> 
>> 
>> Best Wishes,
>> David Glasgow
>> Consultant Forensic & Clinical Psychologist
>> 
>>  <http://www.i-psych.co.uk/ <http://www.i-psych.co.uk/>> 
>> <https://twitter.com/iPsychApps <https://twitter.com/iPsychApps>>
>> 
>>  <https://twitter.com/iPsychApps <https://twitter.com/iPsychApps>> 
>> <http://uk.linkedin.com/in/davidvglasgow 
>> <http://uk.linkedin.com/in/davidvglasgow>>
>>  <http://uk.linkedin.com/in/davidvglasgow 
>> <http://uk.linkedin.com/in/davidvglasgow>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode>
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> <http://lists.runrev.com/mailman/listinfo/use-livecode>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to