Copy link to clipboard
Copied
Hello, I've created with robohelp 8 a WebHelp. The browser display's in the title bar the title of my project. Is it possible to change this title when you choose a topic? Like you click from the startpage (title=startpage) on topic A, the the browser title changes to A? I've searched the web for answers, but the ones I found wouldn't work in my Webhelp. For example there is a javascript, which you include in your topic HTML:
<body OnLoad="parent.document.title=document.title"> Unfortunately this doesn't work.
Does anybody know how to solve this?
Copy link to clipboard
Copied
sorry, just read you want the topic title to pull into the name, not just to rename the entire title.....
File > Project Settings > General Tab > Project title.
Copy link to clipboard
Copied
I have found the solution:
Just put this code in your topic pages:
<body onload="parent.parent.document.title=document.title">
This works great. The only problem is that when you put this code in your masterpage's RoboHelp strips the code, so in you export such as webhelp the code has disappeared. The solution is to modify the page's afther exporting your webhelp. I use dreamweaver, this tool has an batch function for search and replace which makes it an easy job!
I wil send Adobe a suggestion to make this function in the software, that would be easier.
Copy link to clipboard
Copied
Can you specify, whether we have to use this code in a single master page or all the pages?
Please also define, which section of the HTML text we have to insert this code?
Copy link to clipboard
Copied
Hi tosujoy
Is this a repeat of what you asked about changing the HTML link? I just replied to that one where you asked how to change the link. Please advise.
Cheers... Rick ![]()
| Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Find more inspiration, events, and resources on the new Adobe Community
Explore Now