Friday, March 19, 2004

CCMS Web Site

Been working full steam on the redesign this week. Encountering many bugs between the various browsers but I think I'm finally getting there. Hopefully I'll have this done next week. A quick overview of some of the bugs I've found:
  • Safari: cookies generated by javascript from a local file do not appear to be saved. Luckily this isn't a problem for CCMS.
  • IE Mac: (a reminder) @media print css selector not supported; does not support onbeforeprint javascript event ala IE Win. This one was bypassed by using an inline style that imports a print-only stylesheet using @import … print
  • IE Win: despite the existence of multiple style declarations (link, "style" and "alternate style") IE attempts to use the default style. If this style is disabled (such as when it is by the style-sheet switcher) then IE ignores all other stylesheets and uses only inline styles. I was able to get around this problem by using an onbefore print and onafterprint event handler to switch the style to the default then back to the user's preferred.
  • Getting closer on being able to finalize the design.