I hate Netscape
Evening all,
You must have seen IFrames in use, and I know that sites also accomodate Netscape users by substituting the IFrame for a Layer.
However, I can't get this to work.
Let me explain... I have a page using a standard block table structure. In one cell I want to have an IFrame so that instead of having a long cell for a load of thumbnails, a user can scroll down within the IFrame. I use the following code in the table cell :
<iframe name="newpage" src="1.html" width=500 height=150 frameborder=0 marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 scrolling="auto">
<layer name="NNnewpage" src="1.html" width=500 height=150>
</layer>
</iframe>
It works in Explorer but when it comes to Netscape, it displays just the Layer (displaying 1.html within it) in the top left corner, rather than within the original table cell.
Any ideas?
Cheers!
Arielladog posted this at 21:30 — 20th October 2000.
They have: 122 posts
Joined: Jun 1999
Layers use absolute position, but ilayers do not. I'm not sure if the "Src" attribute is supported in an ilayer, but anyway, this should work:
aDog
Moderate at JavaScriptCity Forums
GrahamI posted this at 13:51 — 21st October 2000.
They have: 11 posts
Joined: Oct 2000
It works a very tiny wee bit better but it still isn't working.
What it does now is show either a blank page with the Layer and its contents displayed properly. Or if I hit reload it then shows a corrupted top of my page with selected bits of my footer, and the Layer is nowhere to be seen. It does this alternately - blank page or corrupted page.
F*cking Shitescrape!!
BTW : If I set up the header bit of my page in a layer, it works perfectly in both IE and Shitescrape. The header is a separate table, BTW, but I don't want that as a Layer.
If I put the Layer within the cell in the content table (where I need it), it goes all to buggery.
How I wish I could use SSI with my free server...
Any more ideas?
Arielladog posted this at 14:29 — 21st October 2000.
They have: 122 posts
Joined: Jun 1999
So, it works, but it doesn't work in a table???
Well, try this:
I don't know if that will help, but maybe...
aDog
GrahamI posted this at 14:55 — 21st October 2000.
They have: 11 posts
Joined: Oct 2000
I'll try it out, but I've just come across a method that seems wholly more suitable. Using .js files, called from my page, that 'document.write' a header or whatever. I'm just off to experiment.
Bet I'll be disappointed... it's always the same.
GrahamI posted this at 17:00 — 21st October 2000.
They have: 11 posts
Joined: Oct 2000
HOORAY, this .js file thing works a charm. Cheers for the help anyway, mate.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.