Page 1 of 1

link in form-controls

Posted: Fri Jul 19, 2019 6:43 pm
by Oleksii
Hi,

I use form-controls. In my .xml I have the following element:

Code: Select all

	<a href="file:///K:/PROJEKTE/DMEDME/workflows/utils-documentation_files/ref_docs/DOXconvX/description/DOXconvX.html"/>
which I style with following CSS:

Code: Select all

a:hover{
    color:blue;
    border:1px dotted silver;
    padding:0;
}

a:before{
    content:url('images/link.png');
    link:attr(href);
}
The link opens the file DOXconvX.html in oXygen, but I want to have it to open in the browser. (The problem is this file is not on the web but on a shared external hard drive. )
Is it possible to change this behavior?

Thanks.
Oleksii

Re: link in form-controls

Posted: Mon Jul 22, 2019 10:07 am
by Radu
Hi Oleksii,

Basically Oxygen prefers to open references to HTML documents in itself when the document is not placed on a web server.
In the Oxygen Preferences->"File Types" page you could add an extra "*.html" to the binary file patterns list in order to force Oxygen to open any HTML document in a web browser.
But ideally in your case maybe you can start a web browser in your intranet and have the references to the HTML document made with "http" URLs.

Regards,
Radu