Humm....no answers....what I need to know is how to write a call to
showPopup macro from inside javascript.......seems it should be possible
and easy, but I cant get it right, and no-one is answering my question...
Help
Skye
Em segunda-feira, 29 de setembro de 2014 22h48min58s UTC-3, skye riquelme
escreveu:
>
> Hi All
>
> I have some script like this -
>
> var popupScript="tiddler:upload_PDF label:upload width:400px
> popupClass:sticky";
> var uploadDoc='<script
> label="uploadable">localStorage.docTipo="temaDocumento";localStorage.fonte="'+itemDetails[0]+'";config.macros.showPopup('+popupScript+');</scri'+'pt><<setIcon
>
> Logos/smallPDF.png "" notext>>';
> display uploadDoc;
>
> the script generates an icon (smallPDF.png), which when clicked should
> execute the script defined by uploadDoc......which in fact defines two
> localStorage bvariables and then tries to open a popup using Erics
> ShowPopupPlug............but it gives me an error saying I have an unclosed
> ")" after arguemnt string???
>
> Help
> Skye
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.