Welcome to WebmasterWorld Guest from 54.196.238.210

Forum Moderators: incrediBILL

Message Too Old, No Replies

Layer and ilayer Bug in Netscape 4.x ?

Possible layer and ilayer bug in Netscape. Please help.

     

kpyew

3:06 pm on Oct 4, 2001 (gmt 0)

10+ Year Member



Is there a bug with Netscape 4.x's <layer> or <ilayer> tag??
Please go to the following url using Netscape 4.x and see if the "included text" is repeated twice? The one in the <td> of the <table> is expected, but why there is another one outside of the <table> ?

[kongtechnology.com...]

I use <ilayer> because I would like to include a page from another server. I know IE supports <iframe> but how about Netscape 4.x ?

Any idea? Thanks.

tedster

7:00 pm on Oct 4, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to the forum, kpyew.

ilayer is a Netscape 4.x proprietary thing
iframe is the HTML standard, and is supported in Netscape 6, plus Explorer and Opera.

One idea is to nest the two sets of tags. Putting the iframe tags INSIDE the ilayer tags is reported to be the best way. Any external source file should be a well-formed HTML document (HEAD and BODY tags, and it validates) and not merely an HTML fragment. That's my best guess for why you're getting the duplicated text -- your included file is just a table and not a complete HTML page.

kpyew

5:37 am on Oct 6, 2001 (gmt 0)

10+ Year Member



I have added in the <html>, <head>, ... tags to make layer_inc.htm a complete html page... Still the problem persists....

Please take a look at the link again.

Thanks.

tedster

7:37 am on Oct 6, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



OK, I think I've got it. In your included file, layer_inc.htm, take the text out of the table. Since you are already writing a table in the main file, you don't need a second one. The included code can be like this:

<html>
<head><title>dummy</title></head>
<body>
Included text
</body>
</html>

kpyew

3:18 pm on Oct 7, 2001 (gmt 0)

10+ Year Member



Yup, that solved the problem. But can't a table be nested inside another table??

tedster

5:39 pm on Oct 7, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Yes, I don't really see why this should blow up. So it does look like a bug. And since ilayer is now officially DOA, it's a bug that will never get fixed.

If you discover any more details about this, I'd be very interested.

kpyew

4:28 pm on Oct 8, 2001 (gmt 0)

10+ Year Member



I give up... My pages are now "IE friendly only" :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month