I`m using Offline Explorer Pro for a while and I`m very happy about the functions it supports.
I know about the OEP problems to solve Javascript-calculations to follow more links, but maybe my following problem could be solved with the new 3.0 version, that supports more js-calculations (as described in the features of the new version).
The Problem I faced on some webpages, i.e. at www.unilux.de:
On some pages (i.e. "http://www.unilux.de/ux/html/architekten/holzalu/einbaubsp/ht.html") are javascript-calls to popup a window with a specified page, i.e.:
<a href="javascript:ZSF(`bodensw_10`,`../schnitte/`);">
The function ZSF would open up the new window:
function ZSF(schnittnr,pathtophp)
{
var qstring = `?nr=` + schnittnr;
var schnittwnd = window.open(pathtophp + `showschnittvorschau.php4` + qstring, "SchnittFenster","width=400,height=590,screenX=0,screenY=0,scrollbars=yes");
schnittwnd.focus();
}
So the URL of the page in the window would have the name
http://www.unilux.de/ux/html/architekten/holzalu/schnitte/showschnittvorschau.php4?nr=bodensw_10
But OEP changes the javascript-call to
<a href="javascript:ZSF(`bodensw_10`,`../schnitte/default.htm`);">
and so it would open the page
http://www.unilux.de/ux/html/architekten/holzalu/schnitte/default.htmshowschnittvorschau.php4@nr=bodensw_10
that doesn`t exist and I get a 404 error message in the popup window while browsing the offline pages.
Could you tell me a solution for my problem, I`ve tried a lot now with the new version but I couldn`t solve it.
Thanks for your help!
Sorry for the delay. I just fixed the problem. If you want the updated version, please let me know.
Best regards,
Oleg Chernavin
MP Staff
please tell me the link on this page or with email where I can download the fixed program.
Thanks,
Chris
http://www.metaproducts.com/download/betas/oep1494.zip
Please let me know how it works.
Oleg.
It works well, the javascript call (i.e. <a href="javascript:ZSF(`bodensw_10`,`../schnitte/`);">) stays the same without inserting "default.htm". But the page that should be called with it (http://www.unilux.de/ux/html/architekten/holzalu/schnitte/showschnittvorschau.php4?nr=bodensw_10) is not downloaded.
Is it possible that this happens, because the javascript-function ZSF() that opens the new window is not in the same file, because it is included from a jsp-file and so OEP can`t solve the js-code and can`t download the page??
Chris
Oleg.