Copy link to clipboard
Copied
Hey everyone,
I have an issue when trying to upgrade from RH7 to RH8. I have images throughout the project that are hidden unless the user clicks an icon. When the user clicks the icon the image is displayed in the article. This is done using Javascript and CSS. Unfortunately when I try to upgrade the project to RH8 the div tags that contain the reference to the image disappear. I cant figure out why they disappear or what I need to do to keep the tags in the project.
I'll include a portion of the code including a little code surrounding the affected code.
RH7 Project
</ol>
<p class="whs18"><a class="dropspot" href="javascript:TextPopup(this)" id="a10" style=" text-decoration: none; "><span class=ShowMe><img src="../Mars_Reports_Windows/Transaction_for_an_Issuer/showme.gif" x-maintain-ratio="TRUE" width="15px" height="15px" border="0" class="img_whs19">
Show Me</span></a></p>
<div class="droptext" id="POPUP271620860" style="display: 'none'; " x-ss-type="dropdown">
<p><img src="../../MARS_Screenshots/Group_Mananger_Rebalance_Acct_Mgr_Tab.jpg" width="368px" height="355px" border="0" class="img_whs20"></p>
</div>
<ol start=2>
RH8 Project
</ol>
<p class="whs18">
<a class="dropspot" href="javascript:TextPopup(this)" style="text-decoration: none;" id="a10"><span class="ShowMe"><img src="../Mars_Reports_Windows/Transaction_for_an_Issuer/showme.gif" class="img_whs19" alt="" width="15" height="15" border="0" /> Show Me</span></a></p>
<ol start="2">
As you can see that whole div class="Droptext" tag is gone. Any help would be much appreciated. Please let me know if you need any more info on my project. Thanks!
Thomas
Oh dear. That confirms my fear that somehow you have got output files into your source files, maybe you published to that folder.
Within a version of RH, you could correct that, albeit with quite a bit of work.
http://www.robowizard.com/RoboWizard/NewProject.htm#MonthlyScry/062004.htm
However, what you are trying to do is upgrade an output file and the process is not designed for that. You have to decide on the least work. Uninstall RH8 and install RH7, fix the problem and then upgrade or just get
...Copy link to clipboard
Copied
The code looks like that for a dropdown produced by RH but the way you describe the use of javascript and CSS makes it sound like you have used a home brewed method. Was this all done using RH's dropdowns?
Have you tried Tools > Update DHTML?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thanks for the reply. I inherited the help system from someone else so I wasn't the one who created the drop downs. I was under the impression that it was a home brewed method for drop downs but after asking around I believe that this was done using RH drop downs. I tried Tools --> Update DHTML from RH7 and I couldn't find what it had changed. I also tried it from RH8 and it definately did something, the only problem is that the div tag is already gone (from the upgrade from RH7 help to RH8 help) so it cant really help much.
Copy link to clipboard
Copied
Do you still have a copy of the project from before it was upgraded? Has much work been done since then?
Maybe repeating the upgrade from a copy of the last RH7 backup will go OK. Was it upgraded with the project on a network?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
I still have a copy of the original project in RH7 format. I have tried upgrading a few different times but haven't had success, each time it drops those div tags. I did use the network to transfer the RH7 version to my computer but I have been running the project locally. I haven't been making any changes since the images disappeared from the topics.
Thomas.
Copy link to clipboard
Copied
Did you just copy the folder across? Try zipping the folder, copying that across and then unzipping. It has been known to make a difference although I am not putting money on it.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
I tried zipping and then copying but unfortunately that had no affect. The project is still dropping the tags. I have tried copying the following div tag (from v7 to v8) in html view then switching to design and back to html and the tag is gone:
<div class="droptext" id="POPUP271620860" style="display: 'none'; " x-ss-type="dropdown">
<p><img src="../../MARS_Screenshots/Group_Mananger_Rebalance_Acct_Mgr_Tab.jpg" width="368px" height="355px" border="0" class="img_whs20"></p>
</div>
There is something in there that RH doesn't like and I cant figure it out. Thanks again for you help ideas, they have been much appreciated.
Thomas
Copy link to clipboard
Copied
How big is the zipped file?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
The zipped file is 130 MB. The size of the project file before being zipped is 218 MB. It does take about 5-10 minutes to convert the help and it looks like RH sure is working hard while it is converting.
Copy link to clipboard
Copied
Try importing some of the topics from the RH7 version into a new project in RH8. See what happens there.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Ok, I tried creating a new RH8 project and then I selected a few topics to import from the RH7 project in to the new RH8 project. The imported topics looked just as the whole project looks after importing, the drop down sections are still blank and the div tags that referenced the images are gone. I also tried to do this on one single topic and it had the same affect. Thanks again for your continued suggestions.
Thomas
Copy link to clipboard
Copied
OK. Put a RH7 topic into a zip file and send it to me via my site. Let's see if the same problem occurs on another machine and whether or not I can find out why.
Copy link to clipboard
Copied
Great, thanks so much! I have zipped up a topic and relevant files and have subbmitted it to you in the way described on your site.
Thomas
Copy link to clipboard
Copied
What you have sent me from RH7 is an output file, not a source file. Looking at your original post, the code for RH7 also looks like it is from an output file, the clue is class=wh
Make a copy of your RH7 project and then delete everything that is in the !SSL! folders. Zip that up and advise the size.
Before you upgraded, were you seeing red squares in your source files?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
I made a copy of the v7 project file, deleted everything in the !SSL! folders and zipped it up. The size of the zip file is 62.6 MB. Before I upgraded I was seeing red squares in the project.
Copy link to clipboard
Copied
Oh dear. That confirms my fear that somehow you have got output files into your source files, maybe you published to that folder.
Within a version of RH, you could correct that, albeit with quite a bit of work.
http://www.robowizard.com/RoboWizard/NewProject.htm#MonthlyScry/062004.htm
However, what you are trying to do is upgrade an output file and the process is not designed for that. You have to decide on the least work. Uninstall RH8 and install RH7, fix the problem and then upgrade or just get on with redoing those dropdowns in RH8.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Oh wow. After reading the article that you sent and looking through my project I can see that it really is going to be a huge task either way. I guess this answers my question and I'll have to decide which approach I am going to take. Thanks so much for all of your time, you have been extremely helpful.