Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Custom ToolBar Item and ClickOn javascript - Robohelp 9

New Here ,
May 10, 2012 May 10, 2012

I am using Robohelp 9, and I want my custom "home" button (aligned at the top with contents, search, index...) to go to a new webpage when clicked (outside of the robohelp frame).   On the Actions Tab (where we edit javascript for custom toolbar item) could you provide the javascript for OnClick:   and the code for Inline Javascript.  Thank you!

875
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 11, 2012 May 11, 2012

Hi,

For the OnClick: window.open('http://example.com');

That should be enough to get what you want. For more info, see http://www.w3schools.com/jsref/met_win_open.asp

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 11, 2012 May 11, 2012

Hi there

In addition to what Willam offered, I've documented this as well as a host of other tweaks in my free Skinny on Skins file.

Click here to visit the download page

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 27, 2012 May 27, 2012
LATEST

Thank you, Rick!  This worked perfectly. 

Julie

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp