fantastic, thx and the ucp options are greatsteve wrote:I just added a JS toggle function for the side menu to remember user's option to display it or hide it ,Thank cisc007!!

fantastic, thx and the ucp options are greatsteve wrote:I just added a JS toggle function for the side menu to remember user's option to display it or hide it ,Thank cisc007!!
Code: Select all
<script type="text/javascript">
function getcss(cssfile) {
loadcss = document.createElement('link')
loadcss.setAttribute("rel", "stylesheet")
loadcss.setAttribute("type", "text/css")
loadcss.setAttribute("href", cssfile)
document.getElementsByTagName("head")[0].appendChild(loadcss) }
if (screen.width >= 1000) { getcss('{T_THEME_PATH}/resolutions/1000.css') }
if (screen.width >= 1000) { getcss('{T_THEME_PATH}/resolutions/1000.css') }
if (screen.width >= 1300) { getcss('{T_THEME_PATH}/resolutions/1300.css') }
if (screen.width >= 1600) { getcss('{T_THEME_PATH}/resolutions/1600.css') }
if (screen.width >= 1900) { getcss('{T_THEME_PATH}/resolutions/1900.css') }
if (window.innerWidth >= 600) { getcss('{T_THEME_PATH}/resolutions/800.css') }
if (window.innerWidth >= 1000) { getcss('{T_THEME_PATH}/resolutions/1000.css') }
if (window.innerWidth >= 1300) { getcss('{T_THEME_PATH}/resolutions/1300.css') }
if (window.innerWidth >= 1600) { getcss('{T_THEME_PATH}/resolutions/1600.css') }
if (window.innerWidth >= 1900) { getcss('{T_THEME_PATH}/resolutions/1900.css') }
</script>