M
Manfred
Hi,
When I click any link on this page
http://free.pages.at/staudinger/Regest/Regesten/_A1601-02-08-01657.xml
it only works with IE 6 (and Firefox) but not in IE 7.
I've difficulties to pinpoint the problem (I'm still on win2000) but
I suspect it is in the very last part (copyContent, shown below)
of the script (full version at
http://free.pages.at/staudinger/Regest/htmlhttprequest_test.js)
I've prepared one page to show four alerts (in case of IE) in order
to pinpoint the problem:
alert('copyContent'+'\nsrc '+src+'\ndestId '+destId);
if(src==null){src=domDoc.getElementsByTagNameNS?
domDoc.getElementsByTagNameNS(nsXhtml,'body')[0]:
(domDoc.getElementsByTagName?domDoc.getElementsByTagName('body')[0]:
(domDoc.body?domDoc.body:null))}
var dest=document.getElementById?document.getElementById(destId):
(document.all?document.all[destId]:null);
if(!src||!dest)return;
alert('copyContent'+'\nsrc '+src+'\ndest '+dest);
if(document.implementation.hasFeature("Range","2.0")){
// code for fx, opera, safari
}
else{
alert('copyContent'+'\ninnerHTML ');
if(src.innerHTML){
dest.innerHTML=src.innerHTML;
alert('copyContent'+'\ndest.innerHTML '+dest.innerHTML);
If you click on the second link ("Johann Hieronymus Mundtpradt")
you should see these alerts (copied from a run with IE6):
copyContent
src[object]
destId N-01657-2
copyContent
src[object]
dest[object]
copyContent
innerHTML
copyContent
dest.innerHTML <H3>Johann Hieronymus Mundtpradt</H3>
<DIV class=docindex><B>Quellen:</B><A class=Z01657
title="Eingangsprotokoll des Reichshofrates"
hreg="http://free.pages.at/staudinger/Regest/Regesten/_A1601-02
-08-01657.xml">1601-02-08</A><SPAN class=Z01657>1601-02-08</SPAN>
Now for my questions:
1. Does IE7 show an error message ?
2. Can you see those 4 alerts in IE7 ?
I would appreciate any help very much,
Manfred
When I click any link on this page
http://free.pages.at/staudinger/Regest/Regesten/_A1601-02-08-01657.xml
it only works with IE 6 (and Firefox) but not in IE 7.
I've difficulties to pinpoint the problem (I'm still on win2000) but
I suspect it is in the very last part (copyContent, shown below)
of the script (full version at
http://free.pages.at/staudinger/Regest/htmlhttprequest_test.js)
I've prepared one page to show four alerts (in case of IE) in order
to pinpoint the problem:
alert('copyContent'+'\nsrc '+src+'\ndestId '+destId);
if(src==null){src=domDoc.getElementsByTagNameNS?
domDoc.getElementsByTagNameNS(nsXhtml,'body')[0]:
(domDoc.getElementsByTagName?domDoc.getElementsByTagName('body')[0]:
(domDoc.body?domDoc.body:null))}
var dest=document.getElementById?document.getElementById(destId):
(document.all?document.all[destId]:null);
if(!src||!dest)return;
alert('copyContent'+'\nsrc '+src+'\ndest '+dest);
if(document.implementation.hasFeature("Range","2.0")){
// code for fx, opera, safari
}
else{
alert('copyContent'+'\ninnerHTML ');
if(src.innerHTML){
dest.innerHTML=src.innerHTML;
alert('copyContent'+'\ndest.innerHTML '+dest.innerHTML);
If you click on the second link ("Johann Hieronymus Mundtpradt")
you should see these alerts (copied from a run with IE6):
copyContent
src[object]
destId N-01657-2
copyContent
src[object]
dest[object]
copyContent
innerHTML
copyContent
dest.innerHTML <H3>Johann Hieronymus Mundtpradt</H3>
<DIV class=docindex><B>Quellen:</B><A class=Z01657
title="Eingangsprotokoll des Reichshofrates"
hreg="http://free.pages.at/staudinger/Regest/Regesten/_A1601-02
-08-01657.xml">1601-02-08</A><SPAN class=Z01657>1601-02-08</SPAN>
Now for my questions:
1. Does IE7 show an error message ?
2. Can you see those 4 alerts in IE7 ?
I would appreciate any help very much,
Manfred