• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Twistie Question

Contributor ,
Jun 08, 2016 Jun 08, 2016

Copy link to clipboard

Copied

I really like the idea of layering content with twisties for online outputs, but when it comes to PDF output, I'm struggling with the best way to deal with them. For example, in my PDF, I don't want a button that says "Show All." I came up with the following code:

-----------------------------------------------------

<!--Begin Online Output Section--->

<?rh-cbt_start condition="IncludeInOnlineOutput" ?>

<p class="Body-Text">

<img src="./Graphics/btnshowall.gif" onclick="ShowAll(this)" alt="" id="showall" name="showall" style="border: none;" width="73" height="21" border="1" />

</p>

<p class="Body-Text">

<?rh-dropspot_start class="dropspot" href="javascript:TextPopup(this)" id="a10" dataid="POPUP10" ?>

<span class="HoverIntro">Add Information</span> </p>

<?rh-dropspot_end ?>

<?rh-droptext_start class="droptext" id="POPUP10" style="display: none;" ?>

<?rh-placeholder type="snippet" ref="Procedure_01" ?>

<?rh-droptext_end ?>

<p class="Body-Text">

<?rh-dropspot_start class="dropspot" href="javascript:TextPopup(this)" id="a20" dataid="POPUP20" ?>

<span class="HoverIntro">Change Information</span> </p>

<?rh-dropspot_end ?>

<?rh-droptext_start class="droptext" id="POPUP20" style="display: none;" ?>

<?rh-placeholder type="snippet" ref="Procedure_02" ?>

<?rh-droptext_end ?>

<p class="Body-Text">

<?rh-dropspot_start class="dropspot" href="javascript:TextPopup(this)" id="a30" dataid="POPUP30" ?>

<span class="HoverIntro">Delete Information</span></p>

<?rh-dropspot_end ?>

<?rh-droptext_start class="droptext" id="POPUP30" style="display: none;" ?>

<?rh-placeholder type="snippet" ref="Procedure_03" ?>

<?rh-droptext_end ?>

<?rh-cbt_end ?>

<!--End Online Output Section--->

<!--Begin Print Output Section--->

<?rh-cbt_start condition="IncludeInPrintOutput" ?>

<h3>Add Information</h3>

<?rh-placeholder type="snippet" ref="Procedure_01" ?>

<h3>Change Information</h3>

<?rh-placeholder type="snippet" ref="Procedure_02" ?>

<h3>Delete Information</h3>

<?rh-placeholder type="snippet" ref="Procedure_03" ?>

<?rh-cbt_end ?>

<!--End Print Output Section--->

-------------------------------------------------------------------

I am uncomfortable with having the text that is used to intro the procedure twice - once with the span class "HoverIntro" for online output and with h3 tags for PDF.

I considered coding the snippet like this:

-------------------------------------------------------------------

[This is code from Procedure_01 snippet]

<?rh-cbt_start condition="IncludeInPrintOutput" ?>

<h3>Add Information</h3>

<?rh-cbt_end ?>

<?rh-cbt_start condition="IncludeInOnlineOutput" ?>

<span class="HoverIntro">Add Information</span>

<?rh-cbt_end ?>

[snip the rest of the snippet]

-------------------------------------------------------------------

But that doesn't give me what I want either.

Is there another approach so I can use twisties for my online deliverables and exclude them for my PDF deliverable?

Views

294

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 08, 2016 Jun 08, 2016

Copy link to clipboard

Copied

Sorry, nothing to add that's really of any help here.

Just to comment that I'm always amazed at the number of folks that use a tool such as RoboHelp that excels at creating fabulous content for on-line viewing, and struggle with making this on-line stuff work inside a PDF.

Perhaps someone such as Willam van Weelden​ will pop in with a nice workaround.

Cheers... Rick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

LATEST

Text in dropdowns can all be included in the options in the Print layout but it is all or nothing. Making dropdowns work on paper would require some very special stretchable paper.

Apply a tag to Show All so that it isn't included?


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp