• 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.

iPhone fortune cookie

Read the JavaScript:

if(navigator.platform.indexOf("iPhone") != -1){
isiPhone = true;
}

...

var orient = currentWidth == 320 ? "profile" : "landscape";
document.body.setAttribute("orient", orient);
if(orient == "landscape"){
crackCookie();
} else {
createCookie();
}

 
This line is pretty critical also...

setInterval(updateLayout, 1400);

So, every 1.4 seconds it will check the width of the browser window in the updateLayout function.

They have a variable called isiPhone that checks the user agent for the string "iPhone". Otherwise it would work in any browser with a width of 320px and change on any other width.

 
Back
Top