Skip to main content
Participating Frequently
March 12, 2019
Answered

Is it possible to load a local HTML file in a new browser window/tab?

  • March 12, 2019
  • 1 reply
  • 1862 views

I am still working on this HTML5 canvas portfolio.  I want to pop a new window or tab to show some HTML and CSS work examples.  I'm able to open HTTP links, but is there any way to load a LOCAL html file in a new browser or window?

    This topic has been closed for replies.
    Correct answer kglad

    use window.open, Window open() Method

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    March 12, 2019

    use window.open, Window open() Method

    Participating Frequently
    February 3, 2024

    Is it possible to open a new html above the main one without opening a new tab?
    Would it be like opening a sequel without closing the first one?

    Participating Frequently
    February 3, 2024

    the other html would appear over (if that's what you want), the current html.  but if they're both created by animate, you have all sorts of problems with which to contend.

     

    why not do it the easy way and keep both games in the same project?


    I understand, I'm going to do the same thing. But there will be 10 games that will be for a school website.
    Hey kglad, how do I make an xml that adds points for the games and that reads through the website's html to show that the 10 games have been completed?