Sorry for bad English, I hope to be understood.
TL: DR: How to put/load flarum inside a div?
I have a simple website with a content div, where I alternate my pages via a jquery .load ("about.html") function, everything working fine, I made some changes to the flarum to remove the header, navigation section, etc. , I just wanted to show only the topics created
But when I load the flarum with the jquery .load ("../ flarum /") function, it loads the folder, so my localhost / mywebsite directory goes to localhost / flarum, but without changing the structure of my site, only some conflicts with css that I have already solved
I tried loading the flarum page by the index.php contained within the main flarum folder, however it is just a loader so I could understand, how can I load the flarum inside a div?
<script>
$(document).ready(function(){
$("#minhas").click(function(){
$("#maincontent").load("aula.html");
});
});