Link Toolbar Icon to a Topic in the Project

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
SusanNicholson
Propeller Head
Posts: 14
Joined: Tue Feb 27, 2007 7:33 am
Location: Durban, South Africa

Link Toolbar Icon to a Topic in the Project

Post by SusanNicholson »

Hi,

I want to link an icon on the toolbar to a topic in the project. Does anyone know the OnClick script for this?

Thanks!
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Link Toolbar Icon to a Topic in the Project

Post by NorthEast »

Set the ControlType to Button and set the OnClick action to:

Code: Select all

window.top.body.location='../Content/YourTopic.htm';
Change the link URL for the topic that you want to display - this example would open a file called YourTopic.htm in the Content folder.
Post Reply