Link to topic from logo in WebHelp toolbar

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
gfevrier
Propeller Head
Posts: 45
Joined: Thu Jul 30, 2009 12:10 pm
Location: Tampa, Florida
Contact:

Link to topic from logo in WebHelp toolbar

Post by gfevrier »

How do I link to a topic in my project from our corporate logo in the WebHelp toolbar? I see an OnClick for Javascript in the Properties for the Logo (Styles > Toolbar Item > Logo). Is there javascript I can enter in OnClick to go to a topic in my project? I want to use this instead of the About Box, since you can't link from there. I don't just want to put an image of the text or a URL to our corporate site, either.

Thanks.
Gina G. Wadley, M.Ed.
Staff Information Developer
http://www.ifcatscouldwrite.com

"The most valuable of all talents is that of never using two words when one will do." -- Thomas Jefferson
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Link to topic from logo in WebHelp toolbar

Post by NorthEast »

This should work for a Topic toolbar or a WebHelp toolbar:

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.
gfevrier
Propeller Head
Posts: 45
Joined: Thu Jul 30, 2009 12:10 pm
Location: Tampa, Florida
Contact:

Re: Link to topic from logo in WebHelp toolbar

Post by gfevrier »

Dave Lee,

You are a genius! (That's what I call our developers when they make me HAPPY!!!). It worked! You have to build the WebHelp to see it though, as it doesn't show up in the skin preview for WebHelp. I intend to use this as an alternative to the About box, since you can't apparently add text -- just an image.

Thank you!
Gina G. Wadley, M.Ed.
Staff Information Developer
http://www.ifcatscouldwrite.com

"The most valuable of all talents is that of never using two words when one will do." -- Thomas Jefferson
Post Reply