1 Attachment(s)
forcing no java for simple HTML page
Hi all
I have a simple page that is being integrated into an app. The app has a webview window and we keep an offline copy of the page and only updates the internal file if it sees a change in the file version that is on my server.
The page consists of 3 jpgs 1 giff and 3 texts
The issue is that xara is requiring Java to be loaded. Is there a way to force xara to generate simple HTML with no java required?
Thanks Tim
Attachment 130179
Re: forcing no java for simple HTML page
Quote:
Originally Posted by
TimBox
Hi all
I have a simple page that is being integrated into an app. The app has a webview window and we keep an offline copy of the page and only updates the internal file if it sees a change in the file version that is on my server.
The page consists of 3 jpgs 1 giff and 3 texts
The issue is that xara is requiring Java to be loaded. Is there a way to force xara to generate simple HTML with no java required?
Thanks Tim
Attachment 130179
Just write the HTML rather than use Xara.
Re: forcing no java for simple HTML page
Hi
That's what my last resort is. Just checking if I could force xara to write it for me :)
Re: forcing no java for simple HTML page
Tim, I have to assume you means JavaScript; there is no Java associated with a Xara HTML render.
Every render has a minimum of including Xara's JavaScript library, roe.js.
It would be fairly trivial to handcraft any HTML codes for this manually.
It would be necessary to include in-line CSS for styling.
I assume the heading texts are hyperlinks to elsewhere.
I also take it that it is a web-safe font.
Upload the XAR file and I'm sure you'll get some assistance.
Acorn
Code:
<head>
<style>
body {
width: 400px;
height: 600px;
background: #ccc;
border: 1px solid blue;
}
h2 a {
text-decoration: none;
}
.sections {
position: absolute; left:64px;
}
</style>
</head>
<body>
<img src="https://www.google.se/images/google_80wht.gif" alt="Google logo" style="width: 400px;" />
<div class="sections">
<h2>(A) <strong><a href="products.htm">Products</a></strong></h2>
<h2>(B) <strong><a href="manuals.htm">Manuals</a></strong></h2>
<h2>(C) <strong><a href="blog.htm">Blog</a></strong></h2>
</div>
</body>
</html>