|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
com.mslinn.JBrowCaps | This is a package that reads a CSS1 or CSS2 stylesheet, parses out the HTML tags, and builds a set of HashMaps containing equivalent HTML for browsers of different capbility. This allows older browsers to render a page as closely as possible to the rendering performed by newer, more capable browers, without necessitating recoding all the HTML for different browsers. This also provides for a single stylesheet being able to drive browsers by different manufacturers. More detail can be found at the bottom of the package overview page, after this paragraph repeats. |
The JBrowCaps project was initiated by Mike Slinn as a means to avoid having to create different versions of pages on web sites for browsers of different capabilities. More detail can be found at the bottom of this page, after this paragraph repeats.
JBrowCaps consists of a server-side package, including a tag library, bean
classes for invocation from JSPs, plus JSP for testing and demonstration. The
directory structure is shown to the right.
This documentation also incorporates a class from the Apache Turbine project (BrowserDetector) and PageContextImpl, an underdocumented J2EE class used in Java Server Pages. These classes are incorporated unchanged and no extra documentation has been written for them by the author.
This documentation uses a custom style sheet (mslinn.css) which is responsible for the yellow highlighting of links as the mouse cursor hovers over the link, the choice of fonts and colors throughout, and spacing.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |