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

forward / back buttons are missing

New Here ,
Nov 24, 2006 Nov 24, 2006

Copy link to clipboard

Copied

Hi

I know that this topic was discussed in http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=451&threadid=1214168&h... And there is a link to solution. Unfortunately, it is not quite clear to me where to find the solution.

Can anyone help

Thanx
Lena

Views

985

Translate

Translate

Report

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
Engaged ,
Nov 24, 2006 Nov 24, 2006

Copy link to clipboard

Copied

Hi Lena,

Once you have downloaded the webhelp.chm from Ricks site :
http://www.robowizard.com/RoboWizard/NewProject.htm#Downloads/Skinny_on_Skins.htm

Open it up and check out the topic 'Change the function of the Browse Buttons to function like browser Back & Forward buttons.'

Nifty trick!
Thanks
Craig

Votes

Translate

Translate

Report

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 ,
Nov 24, 2006 Nov 24, 2006

Copy link to clipboard

Copied

Hi Craig

Thanks.

Problem: when I try to open the js file I receive an error message saying Microsoft JScript compilation error.

Anyone?

Kind regards
Lena

Votes

Translate

Translate

Report

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
Engaged ,
Nov 24, 2006 Nov 24, 2006

Copy link to clipboard

Copied

Hi Lena,

You need to open the file in Notepad.

Right click on the whtbar.js far and select Open With - Notepad.

Does this help?
thanks
Craig

Votes

Translate

Translate

Report

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 ,
Nov 24, 2006 Nov 24, 2006

Copy link to clipboard

Copied

Hi

Yes that helped. I am then supposed to locate the text "Previous Topic". But this text does not exist in the code?

Kind regards
Lena

Votes

Translate

Translate

Report

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 ,
Nov 24, 2006 Nov 24, 2006

Copy link to clipboard

Copied

Hi Lena. Maybe your buttons were called something other than "Previous Topic" originally or maybe you've had a bit of finger trouble? Look for the second text string mentioned in the topic (it starts with "onclick=\") and look for the "var svTitle=" about two lines up. What does the value in the double quotes say?

Votes

Translate

Translate

Report

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 ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

Hi

It says

sButton="<a title=\""+svTitle+"\" id=\"btnshowhide\" class=\"btnshow\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";

Lena

Votes

Translate

Translate

Report

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
Explorer ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

Hi Lena, how about trying this search:

In whtbar.js, search for

else if(sType=="avprev")

and scroll down a couple of lines to the

var svTitle="

Whatever's after the quote should be the Previous Topic text.

Then search for

else if(sType=="avnext")

and scroll down a couple of lines to the

var svTitle="

Whatever's after the quote is the text for your Next Topic.

Votes

Translate

Translate

Report

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 ,
Nov 29, 2006 Nov 29, 2006

Copy link to clipboard

Copied

Hi Clubhans,

Thanks

I find else 'if(sType=="avprev")' but I am not sure what to do with it - so I think I'll give it up. But thanks anyway.

Kind regards
Lena





Votes

Translate

Translate

Report

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 ,
Nov 29, 2006 Nov 29, 2006

Copy link to clipboard

Copied

c'mon, lena, don't give up. you're almost there.

ClubHans is right on the money.
it sounds like you didn't go far enough into whtbar.js; you're by the "Show Navigation Component, " right? gotta go lower. like lines 808 and 827 on my whtbar.js. (plus, it really helps if you use a text editor that has line numbers; i use a trial copy of texpad, which is better than notepad: http://www.textpad.com/).

look for else if(sType=="avnext" (line 806 on my whtbar.js)
just below should be var svTitle="Next Topic"; (line 808); this is what needs to be edited—whatever's in the double quotes. the same with the var svTitle line after else if(sType=="avnprev").

good luck, my friend.

Votes

Translate

Translate

Report

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
Explorer ,
Nov 29, 2006 Nov 29, 2006

Copy link to clipboard

Copied

LATEST
OK Lena, you're right there!

This will put ya right on the code that you need to modify.

In whtbar.js, look for:

onclick=\"goAveNext();return false;

and change what's highlighted to read:

onclick=\"javascript:history.forward(1);return false;

Now, in the same file, look for:

onclick=\"goAvePrev();return false;

and change what's highlighted to read:

onclick=\"javascript:history.back(1);return false;

Those are the exact locations and mods that you'll need to make to get to where you wanna go.

Once you make these mods to the file, make sure that your project has a browse sequence in it so the buttons will appear. Also be sure that the Browse Sequences box is checked when you generate. Then you're all set!

Votes

Translate

Translate

Report

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