Hi Sarah,

Line 35 in resolution.js doesn't look right to me. Seems to be missing
"small" for the setStylesheet function:

function checkBrowserWidth()
6{
7 var theWidth = getBrowserWidth();
8
9 if (theWidth == 0)
10 {
11 var resolutionCookie =
document.cookie.match(/(^|;)tmib_res_layout[^;]*(;|$)/);
12
13 if (resolutionCookie != null)
14 {
15 setStylesheet(unescape(resolutionCookie[0].split("=")[1]));
16 }
17
18 addLoadListener(checkBrowserWidth);
19
20 return false;
21 }
22
23 if (theWidth > 1000)
24 {
25 setStylesheet("wide");
26 document.cookie = "tmib_res_layout=" + escape("wide");
27 }
28 else if (theWidth > 690)
29 {
30 setStylesheet("medium");
31 document.cookie = "tmib_res_layout=" + escape("medium");
32 }
33 else
34 {
35 setStylesheet("");
36 document.cookie = "tmib_res_layout=";
37 }
38
39 return true;
40};
41





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to