burdittw / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 4
https://adminlte.io
MIT License
4 stars 0 forks source link

how to display my own html page from sidebar <a> link in index.html to <div class="content">? #12

Closed zxo102 closed 2 years ago

zxo102 commented 2 years ago

Hi there, I "diff" the two pages: AdminLTE-4-dev-2725-scss\dist\index.html and AdminLTE-4-dev-2725-scss\dist\pages\tables\simple.html. They both have same the structure, for example, nav sidebar, <nav class="sidebar sidebar-bg-dark shadow" data-theme="dark">...</nav>.

I just want to display my own page: myPage.html via the link in the sidebar, for example,

`

zxo102 commented 2 years ago

I think I found a solution: in <a> , using onclick to call a js function, send the innerhtml to that <div class="content" id="here">.