Is it possible to get the screen resolution width into smarty?
Hi,
I want to tweak my featured products display so that it shows more columns if the viewing screen resolution is wider. I have already made mods to the products_t.tpl page to do nearly all of this, the last part is just somehow getting the window.screen.width value into a smarty variable so I can plug it into a calculation to determine how many columns to show.
Has anyone else done this - is it possible to do it this way or any other way?
Thanks, Philip
__________________
-----------------------------------------
X-Cart5 v5.2.16 (Live)
-----------------------------------------
|