...No response...is my question unclear...or just unsolveable?
Skye
Em quinta-feira, 11 de abril de 2013 21h59min09s UTC-3, skye riquelme
escreveu:
Hi All
Can I directly trigger a plugin like ShowPopups (one of my all time
favourites!!!) from inside some javascript.
An example...I have data stored in a flat text file on my server and a bit
of javascript that reads that file, unpacks the data and then gives me
results as a clickable list - so the output from this script looks like -
out+='sc'+'ript
label='+detalhes[0]+'localStorage.InstitucaoDetalhes=Name:
'+detalhes[1]+'brEndereço: '+detalhes[11]+';return showPopup
tiddler:get##showInst label:-?- popupClass:yellow
width:300px;/scr'+'ipt\n';
so...this generates a list...which when clicked sets the value of a
localStorage variable (a key item) and then it outputs a showPopup
command. so I can see the informação that is dependant on the
localStorage variable..
OK. it works, but involves a double clickclicking on the label
sets the localStorage parameter and then generates the ? symbol which is
used to open the popup. Is there some way I can do this in one
click..ideally when I click on the labelthe localSTorage
parameter is set and javascript opens the popup without another clickis
that possible???
Thanks in Advance
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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.