actually, I've just managed to get SOMEthing appearing in LR by changing the file type from SHTML to HTML.
Do you know if I can work around this somehow (other than not using shtml files!! )
Yes, of course. Thank you. and you're right, the JS did seem to function when I hovered over the LR window. (not too worried about this quirk)
I may swap to HTML but my end goal would be PHP... I'd be interested what could be done to make it render in lightroom. any thoughts?