I know this can be changed, because I did it in a previous version of html5 Top Nav help....
I set the Window caption to come up as <target name, hard coded somewhere possibly?>-<topic title>
I have duplicated this help to modify for a new purpose, only I can't now find the place to change that target name...
Is there anyone out there can help me?
(I checked https://help.madcapsoftware.com/flare20 ... Window.htm only to be told this can't be set for html5 Top Nav, which I know to be a lie!)
Window caption in html5 Top Nav
-
- Sr. Propeller Head
- Posts: 346
- Joined: Fri Nov 05, 2010 3:30 am
-
- Sr. Propeller Head
- Posts: 346
- Joined: Fri Nov 05, 2010 3:30 am
Re: Window caption in html5 Top Nav
Ah..ha!
Nothing like posting to request help, to cause a break through....
I found that my master pages included
and the xxxxxxxx needed changing!
Clearly too clever for my own good when I set up the last project!
Hope this helps someone else.
Nothing like posting to request help, to cause a break through....
I found that my master pages included
Code: Select all
<script>
document.title = "xxxxxxxx online help - " + document.title;
</script>
Clearly too clever for my own good when I set up the last project!
Hope this helps someone else.
Re: Window caption in html5 Top Nav
Can you be more specific on how to modify the master page?
I'm not too familiar with html and javascript stuff.
I'm not too familiar with html and javascript stuff.
-
- Sr. Propeller Head
- Posts: 346
- Joined: Fri Nov 05, 2010 3:30 am
Re: Window caption in html5 Top Nav
I am no expert in Java (I always use scripts software guys have suggested!) but including them is simple.
If you look at your master page by choosing Open With > Internal Text Editor
It will start with:
There may then be some meta data information, a link to a stylesheet or two, and (if you want) a script, allinside the header section, surrounded by
The main part of the page starts inside the section
Whatever is in there will run every time a page opens using that master page.
My header section looks like this, in order to include that script renaming each window with a better title:
Hope that helps.
If you look at your master page by choosing Open With > Internal Text Editor
It will start with:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd">
Code: Select all
<head>...</head>
Code: Select all
<body>...</body>
Whatever is in there will run every time a page opens using that master page.
My header section looks like this, in order to include that script renaming each window with a better title:
Code: Select all
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<meta name="author" content="" /><title></title>
<script>
document.title = "xxxxxxxx online help - " + document.title;
</script>
<link href="../Stylesheets/Styles.css" rel="stylesheet" type="text/css" />
</head>