if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
DITA and XMetaL Discussion
»
TOC Missing in Firefox
Pages:
1
« previous
next »
Print
Author
Topic: TOC Missing in Firefox (Read 580 times)
kwag_myers
Member
Posts: 63
TOC Missing in Firefox
«
on:
October 07, 2010, 01:16:23 PM »
When I open WebHelp in Firefox the TOC is missing. IE, Safari, and Chrome all work fine. When I switch to Index or Search I can see about 3-4 px of the header. I don't know much about layers in web pages, but I'm wondering if this is where the problem lies. Any ideas?
Logged
XMetaL 6 Author in Windows 7 Home Premium
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1534
Re: TOC Missing in Firefox
«
Reply #1 on:
October 07, 2010, 02:45:57 PM »
The issue with the navigation pane not appearing has to do with an issue in IE in how it deals with CSS block sizing, which is the original reason for the existence of some CSS that was included as a workaround for that browser.
This IE-specific CSS is probably triggering the issue you are seeing, seemingly randomly for some people in FF (it affects some versions and even then does not always seem to occur in my testing). When the unwanted behavior does occur in FF the navigation pane is being reduced in size to the point where it becomes basically invisible (or in other words it does not grow to fit the content it contains). The navigation pane is being sized to "height:1%", as listed below, rather than "1%
but if you have more content in there then expand to let it fit
(which is what other browsers do).
This can be addressed by altering this file:
<dita ot>\demo\webhelp\customization\common\xmwebhelp\webhelp.css
Change this (~ line 106):
#whTools {
margin: 0 5px 0 5px;
padding: 0;
overflow-y: auto;
height: 1%;
display: inline;
}
To this:
#whTools {
margin: 0 5px 0 5px;
padding: 0;
overflow-y: auto;
display: inline;
}
And add this:
/* IE 6 fix for correct height rendering of ToC, Index and Search */
* html #whTools {
height: 1%;
}
When you generate output to WebHelp the next time check to see that the changes in that CSS file were copied over to the version in your output folder.
I believe we'll be including this particular fix in our next release. It would be nice if all browsers supported the CSS standards the same way but unfortunately we'll probably be dealing with these types of issues for a long time until support for the standards become close enough in all browsers.
Now that you know where the CSS files for WebHelp are kept you should be able to make any other browser-specific changes as needed, say for example when people start moving to IE9, etc... (touch wood that won't introduce too many oddities).
«
Last Edit: October 07, 2010, 04:05:48 PM by Derek Read
»
Logged
kwag_myers
Member
Posts: 63
Re: TOC Missing in Firefox
«
Reply #2 on:
October 08, 2010, 10:28:35 AM »
Great, that's the fix I was looking for. Thx again for all your help.
Logged
XMetaL 6 Author in Windows 7 Home Premium
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...