linking a custom toolbar button to the project home page

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
IPRO_JB
Propeller Head
Posts: 13
Joined: Mon Jan 29, 2018 1:31 pm

linking a custom toolbar button to the project home page

Post by IPRO_JB »

Hi there,

Hoping someone can help with this question. I created a custom toolbar button. When clicked, I want it to go to the project's homepage in the same tab. I don't know what to put in the Event > Click filed for the custom toolbar button. Right now, this is what I have:

window.open("/Default.htm#Home.htm");

I know that window.open is likely wrong as well as I don't want it to open a new window. Alas, I am not a programmer so I'm trying to limp along via the Flare Help and reading forum answers to similar questions.

Can anyone tell me how to make the link a link to the project's homepage and have it open in the same tab, not a new window?

Any help would be so appreciated!!
RStreets
Propeller Head
Posts: 63
Joined: Wed Apr 19, 2017 8:37 am
Location: Cambridge, UK

Re: linking a custom toolbar button to the project home page

Post by RStreets »

Did a quick search and found this page https://www.codexworld.com/how-to/open- ... avascript/ which suggests appending "_self" to your window.open might be what you need.

Rae
P.S. I'm less a programmer, more a magpie ;-)
Rae Streets (Flare user since 2017, now on Flare 2023; Central user from 2020)
IPRO_JB
Propeller Head
Posts: 13
Joined: Mon Jan 29, 2018 1:31 pm

Re: linking a custom toolbar button to the project home page

Post by IPRO_JB »

Thanks for your help! I'll give that a try.
Post Reply