Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1

    Default 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

    Click image for larger version. 

Name:	Simple web page.PNG 
Views:	57 
Size:	61.0 KB 
ID:	130179

  2. #2
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: forcing no java for simple HTML page

    Quote Originally Posted by TimBox View Post
    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

    Click image for larger version. 

Name:	Simple web page.PNG 
Views:	57 
Size:	61.0 KB 
ID:	130179

    Just write the HTML rather than use Xara.

  3. #3

    Default 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

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,805

    Default 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>
    Last edited by Acorn; 18 July 2021 at 03:55 PM.
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •