1
mestresan
detect resolution and select theme
  • 2005/5/22 14:44

  • mestresan

  • Just popping in

  • Posts: 1

  • Since: 2005/5/22


Hi guys,

anyone know if is posible to do XOOPS detect the resolution of windows of user and then redirect for specific theme??

I want to do 2 themes. One for resolution 800x600 and other 1024x768...

if anyone know, please help me.


Thankx!!!!!!





---------
http://www.snk-neofighters.com ...

2
pegasus00321
Re: detect resolution and select theme

You can allow users to choose the theme with the theme selection block.
Just call one theme 800x600 and another 1024x768.

Or fancy way, have a gateway page before your XOOPS CMS, and use Javascript to set a cookie with the screen size. Then in the theme.html, put some php to read the cookie and if its either screen size, use that theme. And if its neither, use 800by600 theme.

Login

Who's Online

531 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 531


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits