Page 1 of 1

Programmatically change the loaded theme, based on JS result

Posted: Tue Mar 13, 2012 2:19 pm
by wprevett
Hello Fellow Devs,

As the title suggests, I'm looking for a way to change which App_Theme is used to render the page based on some javascript running on first load.

For example, if the user is running a mobile browser, load content A, if on a desktop machine, load content B

Thanks!

Re: Programmatically change the loaded theme, based on JS result

Posted: Tue Mar 13, 2012 6:31 pm
by wprevett
I found a way to do this without javascript, please disregard :P