Iframe webpage loads in Mozilla but not Explorer

If you run the following simple line of code in Mozilla the webpage loads fine. However, a default page is displayed when opened in IE.

<html>

<iframe name=stbbox src="http://www.thegreatproduct.com" width="700" height="700"></iframe>

</html>

I posted this in the Java section because I suspect the problem can be overcome with Java. I am a novice at Java but I think the webpage needs to get a cookie?

Can anyone please explain why the iframe doesn't load with IE but it does with Mozilla or provide code such that the iframe can load in both IE and Mozilla?

Thanks very much,

Tully

[645 byte] By [tullyroba] at [2007-11-27 11:04:33]
# 1

Have just checked it my friend. Its working fine in IE7.

passion_for_javaa at 2007-7-29 13:00:54 > top of Java-index,Java Essentials,Java Programming...
# 2

Ok, I haven't got IE7 but I'll take your word for it.

Only problem is that various people will be viewing my webpage with different versions of IE so if anyone can tell me how I can get the iframe to work for earlier versions of IE that would be much appreciated.

Thanks

tullyroba at 2007-7-29 13:00:55 > top of Java-index,Java Essentials,Java Programming...
# 3

What you're looking for is javascript, not java, which is a totally different thing and can't help with this problem. Try googling for a javascript forum.

hunter9000a at 2007-7-29 13:00:55 > top of Java-index,Java Essentials,Java Programming...