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
  • 1835 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
    kgladCorrect 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?

    kglad
    Community Expert
    February 3, 2024

    and how do I do this? Would it work, after finishing the game, would you open the other one in the same tab? :]


    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?