|
From: Joseph R. <rya...@os...> - 2002-02-21 17:34:51
|
----- Original Message ----- From: "Jonathan Stowe" <gel...@ge...> To: "NMS Developers List" <nms...@li...> Sent: Wednesday, February 20, 2002 11:59 PM Subject: [Nms-cgi-devel] Re: [Nms-cgi-support] Re: FormMail > On Tue, 19 Feb 2002, Dave Cross wrote: > > > > Note to nms developers: Should we look at a change so that setting $style to > > a false value, turns off all stylesheet code? > > > > It shouldn't really be necessary because as you say if the stylesheet > isn't there then the page will simply get rendered without the benefit of > any styles. Not if the user is using Netscape 4.x, which unfortunately still consumes 5% of the browser market. In that case, the user will be treated to a 404 page stating that nms.css cannot be found. > However if the user were to examine their error log they are > possibly going to be alarmed by the number of 404s for the 'nms.css' or > whatever is the default. I think we should distribute a stylesheet with > each individual program as a sort of gentle hint - in the fullness of time > it might be nice to get together a gallery of CSS for use with NMS. I'm > hedging on the actual question because the code might become a little > ugly - I'll make the change to FormMail.pl to see what you guys think. I already did it to Simple Search awhile ago ;) It was only a 1 line change... or do you mean to set $style equal to 0 if the file could not be opened, despite what the user set? |