• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java script question or CFM

DirtylilTechBoy

Senior member
Hello,

I am looking for a script or a lead, in either javascript or coldfusion. I would like it to check the end users browser for resolution and then forward the user to the most appropriate site for the resolution. Or if you have any actual coding logic that you feel like providing, that would be beneficial as well.

Thank you so much!

Jason
 
You won't need server-sided scripting. You can access screen.height and screen.width to trigger events based on the user's resolution. From there on I suppose you could write the whole document in a huge if clause, or you could do a redirect based on the if clause to the right version of your file.
Unfortunately, I only have German online reference manuals on my fingertips, but this should be in any semi-decent JS reference.
 
Back
Top