View Single Post
Old 04.08.2005, 18:01   #6 (permalink)
walb
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Wrapper not showing up in IE

Tthe IFRAME seems to be OK. You used just the wrapper, which should work. Also for php files.

IE shows nothing but a java-error at line 25, which might explain the different behaviour.
Char: 1
Error: 'null' is null or undefined object.
URL: http://www.the-neutral-zone.net/forms/leagueapp.php

FF displays also the form, reports also a java error at line 25 and says 'a' has no propeties.
FF is somewhat clearer in the reporting, what that line is:
function setTargets()
{
var a = document.getElementById('expanditbutton');
a.onclick = function() { contractIt('myDiv'); }
}
The bold line is line 25 and seems to be the problem area.

Hmm. I'm bad in javascripts.

I noticed 2 javascripts in the beginning of your php page.
Both hold function setTargets() but also a reuse of variable 'a'
The first one passed fine, the second not.
That may be the course and should the second have a different name???
Just guessing.

If I put the php url straight into the browser ie and ff both displays the form with java errors.

Maybe someone more knowledgable of java could help?
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline   Reply With Quote