Thought I'd take one last shot at this: I've created a master page that contains a javascript link but can't figure out how to change the font size or color of the link through the stylesheet. It must be something obvious but obviously too obvious for me. I've posted the master page code below, in the hope that someone out there might show me the way. We're using Flare v. 5. Thanks.
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="183" MadCap:lastWidth="496">
<head>
</head>
<body>
<MadCap:breadcrumbsProxy />
<MadCap:topicToolbarProxy class="" style="mc-topic-toolbar-items: ;" />
<MadCap:bodyProxy />
<MadCap:miniTocProxy />
<p>
<script type="text/javascript">/*<![CDATA[*/var docfdbk_a="mail"
var docfdbk_b="to:"
var docfdbk_c="joesmith"
var docfdbk_d="@"
var docfdbk_e="joesmithcompany"
var docfdbk_f=".com"
var docfdbk_g="?subject="
document.write ("<a href='"+ docfdbk_a + docfdbk_b + docfdbk_c + docfdbk_d + docfdbk_e + docfdbk_f + docfdbk_g + document.title +"'>The link is here.</a>");/*]]>*/</script>
</p>
</body>
</html>
Script Link Formatting
Re: Script Link Formatting
Ok, I got it to work. I was having problems with putting the hyperlink class at the end of the <a> tag, so I put it in the front before the href attribute, and it's working now. So set the hyperlink code in the masterpage to the following (only showing that one line, not the whole page code):
Code: Select all
document.write ("<a class='FeedbackLink' href='"+ docfdbk_a + docfdbk_b + docfdbk_c + docfdbk_d + docfdbk_e + docfdbk_f + docfdbk_g + document.title +"'>The link is here.</a>");/*]]>*/</script>Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: Script Link Formatting
Thanks for taking the time to do that. Sorry, but something remains amiss, and I'm at a loss. Instead of the link color selected in the stylesheet, the output is showing the visited color full time (and yes, I formatted in the prescribed order). Also, when trying to select the script on the master page so that I can edit the style class, the XML Editor only is giving me the script option at the top; I have to open the stylesheet from the Resources folder to format the <a> style.