+ Reply to Thread
Results 1 to 4 of 4

Thread: HTML5 pages in Niagara Jace

  1. #1
    Join Date
    Mar 2003
    Location
    NY
    Posts
    2,281
    Post Likes

    HTML5 pages in Niagara Jace

    I've been fooling with html pages in a Jace v.4-4.9. It took a bit to figure out linking to css files and images etc. but finally have that working.
    The issue that I have though is when I open the site in a browser the 'HTML Viewer' and index page opens properly but each consecutive page opens
    in a new HTML Viewer window. I tried to fix that by setting the anchor link to <a href="index.html target="_self"> but that didn't work.

    Any suggestions?
    "Controls is a lifestyle not a job" -klrogers

  2. Likes TC2K liked this post.
  3. #2
    Join Date
    Jan 2015
    Location
    North Carolina
    Posts
    300
    Post Likes
    It's built in to the HTML profile. The only way that I'm aware of getting around it is to completely do your graphics in HTML with Bajascript v2.

  4. #3
    Join Date
    Mar 2022
    Posts
    1
    Post Likes
    Hello

    I'm trying to use HTML on Niagara 4, I can use a link from HTML file to Px file, I did it in this way:


    <a href="local:|foxs:|file:^Px/PxFile.px|view:workbench:WbPxView">

    PxFile is in the same folder as HTML file.

    Can you include image in yor HTML file? I tried but is not working for me.

    Do you hace some example?

    Thanks

  5. #4
    Join Date
    Sep 2022
    Location
    North Carolina
    Posts
    5
    Post Likes

    Call PX file from your HTML5 page source code

    Quote Originally Posted by yerfer123 View Post
    Hello

    I'm trying to use HTML on Niagara 4, I can use a link from HTML file to Px file, I did it in this way:


    <a href="local:|foxs:|file:^Px/PxFile.px|view:workbench:WbPxView">

    PxFile is in the same folder as HTML file.

    Can you include image in yor HTML file? I tried but is not working for me.

    Do you hace some example?

    Thanks
    Try the line bellow:


    localhost:443/ord/file:^Px/PxFile.px|view:hx:HxPxView

    Note: Substitute your local link and your px file name in the link above

+ Reply to Thread

Quick Reply Quick Reply

Register Now

Please enter the name by which you would like to log-in and be known on this site.

Please enter a password for your user account. Note that passwords are case-sensitive.

Please enter a valid email address for yourself.

Log-in

Posting Permissions

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