Robo v9 Show/Hide without Twisties - One button no longer working
Hey there, as stated I am using Robo v9 with Show/Hide without Twisties (One button) with javascipts. We have most of our images using DHTML drop-downs and when folks click on "Show All Images" on the page, the GIF changes to "Hide All Images" and all drop-downs (our images) and expanding text are diaplayed.
It had been working all the time, but now it only works when I right click the topic in the TOC and choose "Edit Topic", then while in the Edit Window (Display view), when I do a View (Ctrl-W) and it displays the page within RoboHelp..I can click the "Show All Images" and it works like it always had. BUT, if that page is not in the Edit Window, and I right click "Preview Topic", the click "Show All Images" (or on the DHTML dropdown itself) it will NOT show the images, *but the GIF image does properly toggle to "Hide All Images" (and if I do again, then it properly toggles to the "Show All Images" GIF, if I do it again), but now NO images are getting displayed for some reason. It also NEVER works properly when I publish to our website (even when clicking the DHTML dropdown itself), but the GIF images toggle properly.
If I right click and choose "Preview Topic" and click "View With" and use Internet Explorer 8 it still never works anymore, unless the topic is in the Edit Window (Display View), so I know the issue is not on the server. It stops working after I do a generate and run on my pc. Also when I view it IE8 within Robo (and Allow the Blocked Content to run the scripts), many instances of the same error is shown as:
--
Message: Access is denied.
Line: 2646
Char: 3
Code: 0
URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
--
...but I *do* have access to the folder system, but in checking the coding of the ehlpdhtm.js, that area show, where I believe line 2646, character 3 starts at the "values = getAttribute(element, prop );" line below...but maybe something does not exist:
==
function InitEffect( element, prop )
{
var values = null;
if( getAttribute(element,prop))
values = getAttribute(element, prop );
else if( getAttribute( element, "currentStyle" ) && element.currentStyle.getAttribute)
values = element.currentStyle.getAttribute( prop );
else if (element.style.getAttribute)
values = element.style.getAttribute( prop );
if( !values )
return;
var functions = new Array();
==
I have a much older backup when restored, it all works properly again in all cases, but I have done so much work since then that I think would need to be manually redone. I have played with keeping those some javascipts alone (in case I changed something) and updated the rest of the data files I had added, deleted the .CPD file, but it somehow stops working again, probably with some updated file. I am not sure what specific files could be causing the negative impact that is preventing it from working. Maybe if I knew what files could impact, I couldrestore those from my old backup. The newer backups when restored do not work properly, so there was a point in time where something changed and is causing this.
All prior versions of RoboHelp (v7 and v8) have always worked and still do. I am using v9.0.1.262, as the latest version has not yet been allowed on our pcs (per security), but since my earlier backup works, I thought it may not be the issue, but wanted to tell you anyway. ;->
Any ideas on how I should proceed? What files may have impact to cause it not to work anymore? The showhide.js is the only .js to show up as a baggage file. Also, the DHTML line does exits in each html page's code, as we are still using Robo v7 as the production software and the Show/Hide always works, and I copy them into the respective Robo v9 folders (and if new, then I copy them, then import them), otherwise the newer v7 updated pages are copied over the older v9 html files while RoboHelp is closed.
Thanks in advance for any info you can provide!
