Page 1 of 1

TWebBrowser

PostPosted: Mon Jan 01, 2018 7:03 pm
by theLizard
Not sure how to ask this question so here goes,

I am loading an html into my TWebBrowser, it loads ok and all looks good BUT not getting the benefit of any of these css and js

Code: Select all
<link href="css\hint.css" rel="stylesheet" />
<link href="css\hint.min.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/exporting.js"></script>
<script src="js/offline-exporting.js">


I am guessing it has something to do with paths but not sure what, I have tried fully qualifying paths but no luck with that.

What should I be doing??

Cheers

Re: TWebBrowser

PostPosted: Tue Jan 02, 2018 5:42 am
by macicogna
Hi,

Just checking: try to open your HTML with IE or Edge and verify if it works properly.

Marcelo.

P.S. In case it is a problem with TWebBrowser, I'm working with "Delphi Chromium Embeded 3" (https://github.com/hgourvest/dcef3) trying to compile it with C++Builder and I will share it with the BCBJ community soon.

Re: TWebBrowser

PostPosted: Tue Jan 02, 2018 4:09 pm
by theLizard
macicogna wrote:try to open your HTML with IE or Edge and verify if it works properly.


Works fine with all browsers, IE, edge, Firefox

cheers