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

More than one style for a single link state?

Guest
Jan 27, 2010 Jan 27, 2010

Copy link to clipboard

Copied

RH 8 outputting CHM

Hello,

Is it possible to define more than one style for a single link state?

For example, I would like a link in the footer of my master page to be smaller than the links that appear in the body of my topics. I want to retain behavior, and simply change the point size.

I can't simply hand format in Design mode, because my link is within a script. Or, am I missing something easy here?

Thanks much.

Views

488

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 ,
Jan 27, 2010 Jan 27, 2010

Copy link to clipboard

Copied

As the link is within a script I can't see a way of doing this in RH. Perhaps the script could be changed to provide the required formatting.


  • Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.
  • Follow the RoboColum(n) on Twitter

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
LEGEND ,
Jan 27, 2010 Jan 27, 2010

Copy link to clipboard

Copied

Hi,

I'm sure that you can style the hyperlinks easily trough your style sheet. If you post an example topic, I'll get you a solution asap.

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

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
Guest
Jan 27, 2010 Jan 27, 2010

Copy link to clipboard

Copied

Thank you Willam. I will take you up on your offer.

When I attach a file, should I include the htm, the css and the htt file?

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
Guest
Jan 27, 2010 Jan 27, 2010

Copy link to clipboard

Copied

I'm pleased to say I figured out how to change the formatting of a hyperlink embedded within a script.

Within the script, I used a var string to reproduce the text in my link. Then I used another var to change the string size.

So, here's the part of my script that produces what I'm after:

var mailDisplay = 'Was this information helpful? ';
var str = 'Was this information helpful?';
var mailDisplay = str.fontsize("1");

Upon generation of the CHM, the script trumps the CSS. It's a beautiful thing.

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
LEGEND ,
Jan 28, 2010 Jan 28, 2010

Copy link to clipboard

Copied

Good, that means that you won't need my help anymore?

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

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
Guest
Jan 28, 2010 Jan 28, 2010

Copy link to clipboard

Copied

LATEST

Hi William,

Sorry for the delay getting back to you...your email ended up in my junk mail folder.

Yes. I am all set. Thanks for your offer.

connie

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