Assuming that the alternative, where you don't want the div to appear, is a print-type output like Word or PDF, you can use media specifications in the CSS to set display: none; on this class and it won't show there.
In your print target, on the Advanced tab, there is a Stylesheet Medium which ...
Search found 342 matches
- Thu Mar 10, 2016 12:25 pm
- Forum: Styles, Stylesheets and XML
- Topic: condition on <div> tag
- Replies: 2
- Views: 1432
- Thu Mar 10, 2016 12:14 pm
- Forum: Flare's General Discussion
- Topic: Listed images with borders
- Replies: 2
- Views: 973
Re: Listed images with borders
If I understand what you are trying to do, you should be able to do it by specifying padding around the image and a background color. This will wrap the image in a tight box of a thickness and color of your choosing.
A possible drawback is if you have transparent images then the color will show ...
A possible drawback is if you have transparent images then the color will show ...
- Mon Mar 07, 2016 1:39 pm
- Forum: Web-based Outputs
- Topic: Showing highlighted conditional-tagged text in output
- Replies: 14
- Views: 12313
Re: Showing highlighted conditional-tagged text in output
Conditional text which is included in the output gets an attribute on whatever element is tagged: data-mc-conditions="conditionset.condition".
So you could create a CSS rule in your style sheet like
[data-mc-conditions]
{
background: yellow;
}
if you want all conditionally tagged text to have a ...
So you could create a CSS rule in your style sheet like
[data-mc-conditions]
{
background: yellow;
}
if you want all conditionally tagged text to have a ...
- Fri Mar 04, 2016 11:30 am
- Forum: Web-based Outputs
- Topic: Complex Conditioning
- Replies: 3
- Views: 1391
Re: Complex Conditioning
Let me see if I understand this.
You have one project.
Within that project you have made targets for Product 1 Version 2, Product 1 Version 3, Product 5, etc., with appropriate conditional formatting, and each of these builds to a separate folder, hopefully installed or hosted beside one another ...
You have one project.
Within that project you have made targets for Product 1 Version 2, Product 1 Version 3, Product 5, etc., with appropriate conditional formatting, and each of these builds to a separate folder, hopefully installed or hosted beside one another ...
- Fri Mar 04, 2016 10:54 am
- Forum: Flare's General Discussion
- Topic: Can you search for a topic if you only know its filename?
- Replies: 6
- Views: 3744
Re: Can you search for a topic if you only know its filename
View | File List.
Type the file name (or a partial filename with * as wildcard) and press Enter to search for the file anywhere in your project.
Type the file name (or a partial filename with * as wildcard) and press Enter to search for the file anywhere in your project.
- Wed Mar 02, 2016 2:38 pm
- Forum: Printed Documentation Targets
- Topic: Wrapping Between Topics: Newbie help
- Replies: 4
- Views: 2318
Re: Wrapping Between Topics: Newbie help
The first thing I'd do is give your headings the CSS property clear: both. This will stop one topic from starting beside the div in another topic.
It there is still stuff messed up after that, give us another shout!
It there is still stuff messed up after that, give us another shout!
- Wed Mar 02, 2016 7:14 am
- Forum: Flare's General Discussion
- Topic: Finding where a file is
- Replies: 7
- Views: 2795
Re: Finding where a file is
If you have the topic open, click in the topic, right-click Topic Properties , and click the General tab. The Location is the full path to the topic.
If you only know the name, in the View tab of the ribbon click File List . In the File List window, in the Filter field type or paste the file name ...
If you only know the name, in the View tab of the ribbon click File List . In the File List window, in the Filter field type or paste the file name ...
- Mon Feb 29, 2016 2:25 pm
- Forum: Web-based Outputs
- Topic: Locate actual topic in navigation bar
- Replies: 4
- Views: 1439
Re: Locate actual topic in navigation bar
It sounds like you are using a Top Navigation skin.
To get HTML5 output with the functionality of Webhelp, use a Tripane skin.
To get HTML5 output with the functionality of Webhelp, use a Tripane skin.
- Fri Feb 19, 2016 12:55 pm
- Forum: Flare's General Discussion
- Topic: How to use javascript FOR statement
- Replies: 1
- Views: 1067
Re: How to use javascript FOR statement
You need to wrap the javascript code in a CDATA tag, which is commented out from the javascript, like this:
<script type="text/javascript">
//<![CDATA[
function isPopup () {
for (var i = 0, i < 4, i++) {
alert(i);
}
}
//]]>
</script>
The CDATA tag prevents the browser (and Flare) from ...
<script type="text/javascript">
//<![CDATA[
function isPopup () {
for (var i = 0, i < 4, i++) {
alert(i);
}
}
//]]>
</script>
The CDATA tag prevents the browser (and Flare) from ...
- Wed Feb 10, 2016 7:13 am
- Forum: Web-based Outputs
- Topic: Setting the favicon in the address bar or tab
- Replies: 70
- Views: 99574
Re: Setting the favicon in the address bar or tab
You might try defining the path in the Master Page's link to the favicon as a variable. Then you can declare a different value for the variable in each target, pointing to all the individual target versions of the favicon.
- Wed Feb 10, 2016 6:51 am
- Forum: Flare's General Discussion
- Topic: Index entries appearing for pages that are not in the TOC.
- Replies: 14
- Views: 3324
Re: Index entries appearing for pages that are not in the TO
Be aware that if the topics are linked to context-sensitive help IDs, they'll be included unless you exclude the alias files with conditions (if you only want to exclude some of the CSH IDs, you'll have to make multiple alias files).
- Tue Feb 09, 2016 11:42 am
- Forum: Flare's General Discussion
- Topic: Index entries appearing for pages that are not in the TOC.
- Replies: 14
- Views: 3324
Re: Index entries appearing for pages that are not in the TO
Are these topics actually present in the web help outputs in question - that is, if you click them, do their topics appear?
Just removing them from the TOC doesn't make the topics not exist in the target using that TOC - that only happens for print and PDF outputs. You'll need to set up conditions ...
Just removing them from the TOC doesn't make the topics not exist in the target using that TOC - that only happens for print and PDF outputs. You'll need to set up conditions ...
- Thu Jan 28, 2016 11:08 am
- Forum: Printed Documentation Targets
- Topic: Title Page not including text
- Replies: 6
- Views: 2639
Re: Title Page not including text
I'd guess that the print layout you have for that title page has a fairly small content area (above the red swoosh) AND all those paragraphs are coded in a way that keeps them together. On the one where this info appears on another page, one line of the title wraps onto another line which makes it ...
- Thu Jan 28, 2016 10:59 am
- Forum: Single-Sourcing
- Topic: ORing and ANDing conditions
- Replies: 5
- Views: 3905
Re: ORing and ANDing conditions
At the bottom of the Conditional Text panel there are Basic and Advanced buttons. If you click Advanced, then you can specify your own combination of conditions with AND and OR and NOT to get the output you want. You can see this fill in while you are in the Basic mode to get the idea of the syntax ...
- Thu Jan 28, 2016 10:50 am
- Forum: Flare's General Discussion
- Topic: Second-level topics take 1st level place
- Replies: 2
- Views: 880
Re: Second-level topics take 1st level place
The chapter breaks determine the page break at the end of the chapter and chapter autonumbering, if you use it, but the heading levels of individual topics are determined by the heading level within that topic.
To override this and make TOC depth determine heading levels, check Use TOC depth for ...
To override this and make TOC depth determine heading levels, check Use TOC depth for ...
- Tue Jan 05, 2016 1:53 pm
- Forum: Flare's General Discussion
- Topic: Topic file name into header
- Replies: 5
- Views: 1590
Re: Topic file name into header
Just format the style of heading that you use so that it is invisible or displayed off the page. You should still be able to reference it in the footer.
- Fri Dec 18, 2015 12:48 pm
- Forum: Flare's General Discussion
- Topic: Tips for rationalising conditional tags
- Replies: 2
- Views: 1277
Re: Tips for rationalising conditional tags
I don't know of any way to automatically exclude all tags except what you include. But what you could do is make a tag that you apply to all conditional content which is excluded from every target. Each target includes the stuff tagged for it, of course, and the include overrides the exclude. You'd ...
- Mon Dec 14, 2015 8:04 am
- Forum: Styles, Stylesheets and XML
- Topic: Link to Remote CSS
- Replies: 3
- Views: 2156
Re: Link to Remote CSS
This problem exists only in Flare's editor; if you built the help with that CSS reference in place it would work.
Flare expects the CSS to be a file within the project, and when it doesn't find this file, it throws the error you saw.
The workaround is to put a CSS file in the project which contains ...
Flare expects the CSS to be a file within the project, and when it doesn't find this file, it throws the error you saw.
The workaround is to put a CSS file in the project which contains ...
- Tue Dec 08, 2015 2:00 pm
- Forum: Styles, Stylesheets and XML
- Topic: Numbered lists show unexpected font. Plz assist....
- Replies: 4
- Views: 3142
Re: Numbered lists show unexpected font. Plz assist....
When you define a style using autonumbers and the position is "outside" anything, the number goes into a <span> tag, which is in some suitable container element outside the paragraph. You can choose a Span Class when you define the autonumbered style, and Flare will assign that class (style) to the ...
- Thu Dec 03, 2015 6:40 am
- Forum: Web-based Outputs
- Topic: Search.mcsdb.gif & Search.s3db.gif
- Replies: 6
- Views: 3569
Re: Search.mcsdb.gif & Search.s3db.gif
And to completely close the loop, it seems like they are in fact no longer being generated for HTML5 help by Flare 11. My original comment was for Flare 10, which exhibited the odd behavior I mentioned back then.
- Mon Nov 30, 2015 7:36 am
- Forum: Single-Sourcing
- Topic: How would I create a variable that is linked to an image?
- Replies: 2
- Views: 2550
Re: How would I create a variable that is linked to an image
The text of the variable is used directly in the place you reference it. So if you plan to use a variable as the image location, first insert the image (temporarily) directly into the topic. Use the Text editor to look at the source and copy the entire quoted path to the image. If your topics are ...
- Mon Nov 16, 2015 12:30 pm
- Forum: Web-based Outputs
- Topic: Images missing in preview and output
- Replies: 11
- Views: 8244
Re: Images missing in preview and output
If it only happens in IE, it's probably some of that Mark-of-the-web brokenness.
Microsoft implemented some weird restrictions on local files in IE in a misguided attempt at security. Scripts (including the javascript needed to load the TOC pane in tripane output) are prevented from running, with ...
Microsoft implemented some weird restrictions on local files in IE in a misguided attempt at security. Scripts (including the javascript needed to load the TOC pane in tripane output) are prevented from running, with ...
- Mon Nov 16, 2015 11:46 am
- Forum: Importing
- Topic: When importing HTML also import image files?
- Replies: 2
- Views: 2210
Re: When importing HTML also import image files?
In the import wizard, on the screen after you choose the files, there is a checkbox labeled Import resources which should bring in the linked images.
- Mon Nov 16, 2015 11:40 am
- Forum: Flare's General Discussion
- Topic: Edit or mimic the template list classes?
- Replies: 1
- Views: 858
Re: Edit or mimic the template list classes?
There are two different styles here (in MadCap's style sheet).
SetOffFirstLevel is a style on the span tag which creates the bold and colored font on the Do this, Do that text.
The bullet is an image, set by the list-style-image attribute on the ul tag. To change the appears of this bullet, change ...
SetOffFirstLevel is a style on the span tag which creates the bold and colored font on the Do this, Do that text.
The bullet is an image, set by the list-style-image attribute on the ul tag. To change the appears of this bullet, change ...
- Thu Nov 12, 2015 9:11 am
- Forum: Web-based Outputs
- Topic: Styling the mc-wrapper element - Topic.css
- Replies: 3
- Views: 2118
Re: Styling the mc-wrapper element - Topic.css
I'm not sure what mc-wrapper is (maybe it's from some other output besides the tripane HTML5 I normally use).
The fact that you want to edit it in Topic.css suggests that it is in the topic, though, rather than in the skin.
The css you attach to a project appears after Topic.css in the output, so ...
The fact that you want to edit it in Topic.css suggests that it is in the topic, though, rather than in the skin.
The css you attach to a project appears after Topic.css in the output, so ...