Ty HH and jonathan, its working now for me. Terry: I have this in my temporary file.. <html><body> Hi! <script> window.onload = function(e) { liveCode.lcHeight(document.body.scrollHeight); }
</script> <img src="file:///C:/Users/Mike/Desktop/dtstuff/billiewow.jpg"> </body> </html> It loads my picture fine, and (now that i have capitalization right.. DOH) it sends a livecode message called lcHeight which is in the javascripthandlers for the widget it loads into. For the handler in LC I have this.. command lcHeight pHeight set the height of widget 1 to pHeight + 23 -- +23 because I have the horizontal scrollbar showing set the topleft of widget 1 to the topleft of this card end lcHeight On Wed, Aug 16, 2017 at 6:42 AM, Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks hh that's really helpful stuff. Thanks also to Jonathan and Mike. > > Regards, > > Terry... > > Sent from my iPad > > > On 16 Aug 2017, at 9:00 pm, hh via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Additional to Jonathan's instructions. > > > > Basic: > > http://forums.livecode.com/viewtopic.php?f=7&t=29589 > > > > Medium: Get MouseEvents from browser widget > > http://forums.livecode.com/viewtopic.php?p=154496#p154496 > > > > and others there (7 Browser Widget usage examples) ... > > > > _______________________________________________ > > 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 > > > > > _______________________________________________ > 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 > _______________________________________________ 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