Re: WebHelp Skin
Hussein Shafie <[email protected]> Mon, 13 Apr 2015 16:28:31 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
On 04/13/2015 12:12 PM, Dimple Mittal wrote:
>
> Please advise if there is any way of updating the skin for the webhelp
> output generated from XMLMInd XSL Utility.
This is not officially supported. You need to regenerate the Web Help
using XMLmind XSL Utility with different conversion parameters if you
want to change the looks of the generated Web Help.
> Also please advise if we can customize the skin.
There is no formal concept of "skin".
You can do two things:
1) SIMPLE. Pass XSLT stylesheet parameter wh-jquery-theme with a value
corresponding to one of the JQuery UI themes. Examples: redmond,
cupertino. Please visit http://jqueryui.com/themeroller/ to learn about
JQuery UI themes and their names.
See attached screenshot #1 (wh-jquery-theme = sunny).
AND/OR
2) MORE DIFFICULT. Customize the CSS used to style the HTML pages
comprising the Web Help (look in <output_dir>/_wh/*.css to learn about
some of the the stock styles).
Pass XSLT stylesheet parameter wh-user-css pointing to your custom CSS file.
See attached screenshot #2 (wh-user-css = file:/home/hussein/tmp/red.css
where red.css contains:
---
body {
color: red;
}
---
).
References:
* XMLmind XSL Utility - Online Help, 4. Specifying a conversion
http://www.xmlmind.com/foconverter/_distrib/xslutil/doc/help/com.xmlmind.xslutil.ConversionEditor.html
* wh-XXX XSLT stylesheet parameters are parameters supported by XMLmind
Web Help Compiler, a software component embedded in XMLmind XSL Utility.
http://www.xmlmind.com/ditac/_whc/doc/index.html#parameters
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
set_param.png
(image/png, 47.1 KB) - not displayed
set_user_css.png
(image/png, 47.8 KB) - not displayed
red.css
(text/css, 25 B)
body {
color: red;
}