1
I've been trying to figure out how to get a theme dynamically and automatically select its stylesheet based on the user's screen resolution. I've seen tutorials on the internet that use javascript to do this but i have no idea how to implement it into my XOOPS theme.
Here's the starting few lines of my theme.html file>
xml version="1.0" encoding="iso-8859-1"?>
" lang="<{$xoops_langcode}>">
" />
" />
" />
" />
" />
" />
" />
<{$xoops_sitename}> - <{$xoops_pagetitle}>
/favicon.ico" rel="SHORTCUT ICON" />
/xoops.css" />
" />