Import / include another XUL file in XUL

I am writing a Firefox add-on in XUL and I want to add another XUL file to my .xul browser. In PHP, I would use something like this: include ("anotherFIle.php"); but I do not know the equivalent in XUL. What is the best way to do this?

+3
source share
2 answers

XUL has an iframe similar to HTML iframe. However, if you are just trying to add some user interface elements to an existing user interface, look at overlays .

+3
source

- ala PHP . XUL , - gonnna fly.

iframe html-, , XUL.

. Remote XUL, :

XUL ; Gecko 2.0. , XUL file://URL.

XUL: , XUL iframe, .

0

Source: https://habr.com/ru/post/1766964/


All Articles