Skip to main content
Jun 10, 2010 7:48 PM UTC
Answered

RH7 Custom Toolbar Button Open Link in Same Window Whole Page

Hello

I'm using Robohelp HTML 7 and I have inserted a custom button in the navigation toolbar which I want to link to a web page. I would like it to be in the same window, but using the whole page - as it is possible to do when inserting any regular hyperlink in a topic and selecting Display in frame: Whole Page option.

I've managed to create navigation toolbar buttons which open a link in a new window or in the same window using the parent frames. Is there a javascript which would enable me to open the link using the whole page?

Thank you for any help

This topic is closed to new replies. Start a new post to keep the conversation going.
Willam van Weelden
Willam van WeeldenCorrect answer
Inspiring
Jun 11, 2010 6:53 AM UTC

Hi,

In the skin editor, open the properties of the button. Go the action tab and select 'JavaScript'. Add the following code in the 'OnClick' field: top.location.href='http://www.google.nl' (Amend URL to the address you want.)

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

2 replies

Willam van Weelden
Willam van WeeldenCorrect answer
Inspiring
Jun 11, 2010 6:53 AM UTC

Hi,

In the skin editor, open the properties of the button. Go the action tab and select 'JavaScript'. Add the following code in the 'OnClick' field: top.location.href='http://www.google.nl' (Amend URL to the address you want.)

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

Translate
Jun 11, 2010 12:35 PM UTC

Thank you Willam! That's exactly what I was looking for.

Have a nice day!

Nathalie

Translate