Displaying HTML pages

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Aug 18 11:09:11 EDT 2014


Hi Linda,

Actually, if a website is composed of simple HTML 4, the pictures should 
show up in the field. Perhaps they are hidden by lines with very small 
lineheights. Try setting the fixedLineHeight to false. Does that help?

You could use the revBrowser external to display websites in their own 
window inside a LiveCode stack. Just search for revBrowser in the 
LiveCode dictionary and start reading to find out how to implement this.

Hyperlinks in fields don't work by themselves. You could handle clicks 
on linkes with a linkedClick handler, e.g.

on linkClicked theLink
   launch URL theLink
end linkClicked

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 8/18/2014 16:58, Linda Miller, DVM wrote:
> I have several ebooks that are composed using HTML/CSS and maybe some JavaScript.  I know that I can use HTMLtext to display the pages.
>
> For example,
> on mouseUp
>     put url "http://www.mobgui.com" into temp
>     set the htmlText of field "test" to temp
> end mouseUp
>
> But, this displays only black text on white background without any images or other formatting. As LiveCode exists today (before the HTML5 version is completed), is there a way to display HTML/CSS pages with images from a file that is imported into the app? By imported, I mean files that are a part of the app that can be used when there is no Internet connection.
>
> Also, the hyperlinks do not seem to work when the mobgui.com page is being displayed. Will hyperlinks work in LiveCode today?
>
> Thanks,
> Linda
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




More information about the use-livecode mailing list