Copy link to clipboard
Copied
I have RH HTML 8.0.2.208
Compiling to Microsoft HTML Help
When I compile, the DHTML drop-downs change color from green to blue.
I need them to remain green. Anyone know what might be causing this?
It started happening kinda randomly - it was green the last 10 times I compiled, suddenly all the DHTML drop-downs (in the output) are blue.
They remain green in the project (in the Design view).
Thanks
Copy link to clipboard
Copied
Welcome to our community, LIsa
Generally speaking, these are known as Hyperlinks. The colors are typically controlled by CSS (Cascading Stylesheet Specification) rules. It's possible that the rules state one color for unvisited and the other for visited?
Perhaps you need to explore the CSS rules defined.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
The DHTML drop-downs are not treated as links in the style sheet; they're "Drop-Down Hotspot" and "Expanding Hotspot."
.in HTML view, for one of the problem drop-down hotspots, this is what I see:
"<a class="dropspot" href="javascript:TextPopup(this)"
id="a1" style="background-color: Transparent;">"
I checked the style sheet for "Drop-Down Hotspot" and "Expanding Hotspot" and both are defined as green italics. But after I compile, they change color to blue. I also checked that the correct style sheet is being used - it is. I haven't changed the style sheet.
Also, this started happening randomly, then "took over" the entire project (each time I compiled, more turned blue).
Copy link to clipboard
Copied
Hello again
Can you perhaps share one topic where this is occurring along with the CSS file that is associated? You could use YouSendIt.com
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
We can't attach files to a post, can we? Do you mean, send a file to you?
From header:
"<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " [page does not like links]">
<html xmlns="[page does not like links]>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Adobe RoboHelp 8" />
<title>Setting Up Auto Linking and Profile Creation</title>
<link rel="StyleSheet" href="MS_Help.css" type="text/css" />
</head>"
Problem link:
<p style="background-color: Transparent;"><a class="dropspot" href="javascript:TextPopup(this)"
id="a1" style="background-color: Transparent;"><img
src="%2b icon.png" alt="" style="border: none;" width="13" height="14"
border="0" /> View an example of portfolio configuration for hedges.</a></p>
<div class="droptext" id="POPUP418223143" style="display: none;">
<p><img src="portfolio-hedge-config.png" alt="" style="border: none;"
width="779" height="394" border="0" /></p>
</div>"
From css:
"A.dropspot {
cursor: hand;
color: #008000;
font-style: italic;
text-decoration: none;
}"
"DIV.droptext {
font-size: 10pt;
font-family: Verdana;
}"
Copy link to clipboard
Copied
Also, if I Preview the topic from RH HTML,the drop-downs are green.
As soon as I compile,the drop-downs change to blue.
Copy link to clipboard
Copied
Hello again
With CHM files things are a bit "interesting". This is because CHM files use elements of Microsoft Internet Explorer to present the content. You likely need to clear the IE history in order to reset things. Otherwise the links will be interpreted as read because you have viewed the CHM in an earlier session.
It is for this reason that I always elected to make visited and unvisited links (regular HTML hyperlinks or DHTML hyperlinks) to be the same color and not use the visited indictation.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
In the compile settings,
File > Generate > Primary Layout,
under "Additional Options", selected "Apply to All Topics" then
changed the CSS option (it was pointing to something else).
Copy link to clipboard
Copied
Hello again
Soooo, are you saying this fixed it up pretty as you please?
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |