I'm ready for
few others to have a look at what I'm doing with my beta version of an FR CSS Stylesheet Editor. You can see it at
my FR website.
Javascript-based. Tested only with IE 6 so far. Should work with IE 5.x. Probably will even work with IE 4 since I wrote it using IE 4 specs.
Netscape will
not work because NS doesn't expose the
docuument.all collection. Apparently, NS uses something else and I don't have docs for it yet.
This is a very rough version. I just thought you guys might like to see what I'm doing so far. The editor uses a basic test page from FR. The editor places it in a scrollable sub-window. The editor sniffs out all the fr_* tags and sets itself up to edit those styles. So far, it can recall any custom color settings the user has made. The left/center/right/justify alignment is working. I'm just looking at how to do Fonts. It will probably simply be a single text box for the font's attributes:
fontStyle, fontVariant, fontWeight, fontSize, lineHeight, fontFamily
A few samples of how I'll be setting this font attribute:
italic normal bolder 12pt Arial
italic small-caps bold 12pt serif
I'll be looking into how to do the margins and borders using a similar shorthand style.
Suggestions/comments? Can anyone test with IE 4/5/5.5?