[resolved] Multiple ui_pages for file organisation

I’ve recently started messing around with organizing my files into separate files but for my menus I’m using the NUI… things. I’ve just started having issues with pages not showing up and the console is telling me that the resource has more than 1 ui_page.

My brain can be totally blank right now, but it should be able to have more than 1 html file as a ui_page. right? It would be seriously stupid to add all your windows, functions and listeners in 1 file and manage everything from there. Another workaround I would see is creating different resources for everything… every single menu. But that means I’ll have to export a ton of functions to get it working all together… is this the way to go? is there another way to register more than 1 html file as a ui_page? Any feedback is welcome!

EDIT: found a way, this can be locked.

Hi @Tosfera !
Would you share with us how you managed to solve your problems ?

I think this could benefit to others :wink:

Thanks

Closed at request of author.

I believe his solution is to use Javascript to change the HTML page (e.g. hide and show certain elements).

Edit:

@Tosfera is using Jquery.load