This content has been marked as final. Show 22 replies
The ShowHide methods on my site work with both dropdown and expanding text.
I should mention that the buttons I'm adding are in a topic that is attached to a frameset. The top frameset htm has ABC buttons. The content topic has the drop-downs I want to show and hide. I put the button and scripts in the content topic with the drop-downs not in the frameset htm with the ABC buttons. I don't know if frames messes this up.
zzz : )
If the zzz is meant to be a "hurry up, I am waiting", I am UK based and didn't stay up all night in case you posted!
Try getting the method to work in a non frameset topic first. It's quite possible it is the frameset messing it up.
No... the zzz meant I'm going to bed! Sorry! No rush!
I tried the one button approach in a none-framed topic and RoboHelp v 6 the script in the <head> section out. For example, I put the script below right after <head> (which is above </head>). I check Preview and the single button works and the drop-down "shows" and "unshows". I compile, see the button is "dead" in the generated help. When I look at the True Code, the script I added (shown below) is gone. Very odd. Not critical for my project, but this is a very cool thing. Is there anything in RHv6 that strips code? Or IEv6? Very odd.
Hey, don't tell everyone we were in bed at the same time!
Is it supposed to be a secret that roughly half of us are in bed at the same time at any given time? I think the idea is rather exhilarating. Think of all the editorial comments!!!
Now you have just spoiled my fantasy!
Well it's bedtime for me again. Don't know about you.
Sorry, we're keeping our Queen. Blair is no longer Prime Minister so you can have him if you wish.
Good morning, Grange! While you slept in your comfy bed, I was having a code-venture.
I read of another Kate troubled with show/hide and print (in RH7):
This gave me courage to press on.
In RH6, I couldn’t add the .js file as a Baggage file. I believe this is because RH6 (and probably the other Kate's RH7) loves XML. I edited the rhbag.apj per Mr. Wizard's details at:
http://www.robowizard.com/RoboWizard/NewProject.htm#MonthlyScry/022005.htm (Thank you, Rick.) If this is write-worthy, you could add it as a tip in your show-hide instructions for users of these later RH versions. Or, maybe you warn people of this annoying baggage issue and I haven't gone deeply enough.
Another potential oddity of RH6 (maybe RH7?) that might be write-worthy is that adding the script after <head> appeared to be deleted because it wasn't where I left it. Silly girl, smart RH6. RH6 moved the script after:
RH6 isn't smart enough to see the identical code so I deleted a bizillon of them. (Well, really, only my 9 or so failed shots.) So, the instructions might be after <!--(Scripts)======> but before <\head>.
On the issue of frames and show/hide, the frame doesn't make any difference. However, my htm file has 200+ drop-downs. (I know… way too large… I split it once already.) Interesting but not surprising, when Show All is clicked, the drop-down content displays with this dialog box slapped rudely over the top:
"A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?"
I click Yes and the drop-down content is displayed but the button still says Show All. My computer is no speedy rabbit and I wait with baited breath for my screaming new Dell which is coming any day now. In the meantime, I'll bug some colleagues to test the speed of display on their machines to see how many pieces I have to hack my file into.
What is Tony doing now? Does his wife want to be Prime Minister? But I digress.
I’m heading for zzzzz-land now.
Now the cat's out of the bag! How do you know my bed is comfy?
Haven't had any other reports of code being moved but from what I read, that isn't causing the script to fail. That sounds like the number of dropdowns is the issue. Yes if you abort the script the button will not change.
Cheri has as much chance as the Pope becoming Chief Rabbi.
I figured it was comfy because you spend so much time there. I work with RoboHelp but that doesn't mean I'm loco.
RH moving the script doesn't cause a failure. The author thinks it is a problem because the script is "missing" (but not). So, you put it back just to have fun watching it disappear when you save the file and, for a few hours, figure that's the problem.
A .js file is pretty common to add to Baggage, so having to edit the baggage file is an odd "feature". Most authors don't don't know what the baggage file is, that they have to edit the baggage file, how to edit a baggage file, or even want to mess with RH files gut files. Bring back Pluto and bring back the right click on Baggage and open the .js.
While I have the Adobe WW Expert on the forum, I read Adobe didn't include RH in it's annual report so there was panic it won't be supported. Urban legend or truth?
It's nice Cheri knows her gifts. We are watching reruns of Clinton's union. Reality TV. What is the attraction?
So now we are down to saying I'm a lazy old git who spends all his time in bed! Hmph!
The bit about RH in the annual reports was based on someone who had a bee in his bonnet. The point is in terms of Adobe's annual revenue for the year in question, the income was less than that which requires the product to be specified. RoboHelp is an important part of Adobe's Technical Communication Suite and I know a lot of work is going into the next version.
Ignore what you read about that.
Grange, you're work is a testimony that you are far from a lazy old git! Because I only telecommute, I sometimes work from bed. It is comfy!
Suggest your users will save some head banging if you update:
http://www.grainge.org/pages/authoring/showhide/showhide_method1.htm (and, maybe method 2) to:
4. Paste the code after <!--(Scripts)======> but before <\head>.
And maybe change the following text later on the page. It appears to be the way RH6 (and probably beyond) works (not a bug).
I have RH5 and RH7 but haven't tested either. I can, if you like. I am at your service!
Glad to hear RH is here to stay. Madcap missed their little window of opportunity. It is clugy.
Peter is fine. You might be able to spell that. :-)
I've added your comments to some other things I need to look. Thanks for pointing out what didn't work for you. It's important that people do that.
When can we look for the next episode of this soap opera?
We're moving to pay per view channel. Sorry.