This problem stems from migration to VVE from Whip!
I am not a programmer, and lack some knowledge of computer and programming stuff, but will try to explain my problem as best as I can.
For purposes of our website, we have constructed a demonstration set of drawings, to be published on-line. On Acad2000 platform, we had constructed a set of 30 adjacent layout drawings, with around 400 hyperlinks. The 30 drawings were plotted to DWF, in ASCII format. The ASCII files were edited and the link refs were changed into a javascript call, that opens a new browser window, with another dwf embedded. It worked perfectly with Whip! I had a beautiful set of layouts, linked to section drawings, very impressive, all ready to be published. In the meanwhile, we upgraded to Acad2002. I updated the Whip! to VVE, and also re-plotted the layouts with the new DWF format. Now the javascript links don't work anymore. The new layouts, viewed with Whip! lose their raster content, but the javascript links still work fine. Viewed with VVE, they display their full content, but the links are dead.
The very common javascript used is:
function openWindow(url, w, h) {
var options = "width=" + w + ",height=" + h + ",";
options += "resizable=no,scrollbars=no,status=no,";
options += "menubar=no,toolbar=no,location=no,directories=no, top=110, left=534";
var Mhkotomes = window.open(url, 'Mhkotomes', options);
Mhkotomes.focus();
}
This is a part of the html file that has the layout dwf object.
An example of the links that I inserted in the dwf files would be:
(URL (0 'javascript:openWindow("4d6.htm",480,580);'4d6))
calling for the 4d6.htm file to be opened in a new window. This file has another dwf object to be displayed.
Since I have most of these on-line, I invite anyone interested to take a look. Only drawback....it's only in Greek (for now). However, anyone interested can follow my instructions and eventually get there:
-Use 1024x768 res.
-Go directly to http://www.hydroex.gr/GR/5_frameGR.htm
-From top to bottom, click on the 4th link of the main window.
-Now click on the 1st link of the new main window. A new window should come up, having a general layout. Click on any part to activate another new window, with a more detailed part of the layout. This is the dwf that does not work anymore. Activating the links, should activate a third new window with a section of the clicked line.
Is there a solution, or I have lost all this work because VVE does not support the javascript commands, as Whip! did? Why didn't Autodesk keep the Whip! capabilities as a minimum for its replacement web-viewer?
Any help would be greatly appreciated. Thank you for reading all this.
Spyros Michas