View Full Version : I need some help with iframes
~pEnGuIn~
May 18th, 2002, 10:07
I'm trying to figure out if its possible to put an iframe in a table and this is what i have so far: http://www.liquid2k.com/jump5rox/blank.html
But the background color isn't showing up! the file should look like http://www.liquid2k.com/jump5rox/side.html --with a black background! any ideas?
~Bethany T.
meow
May 18th, 2002, 18:16
Where is the iframe? I don't see any. :confused2
~pEnGuIn~
May 18th, 2002, 18:59
its the side bar... i want it to be an iframe so i dont have to go around to ALL the pages updating, ya noe...
~Bethany T.
meow
May 18th, 2002, 19:16
Oh sorry, I thought it was already there and you were having trouble with it. Just put it there. An iframe can be just about anywhere.
It's a bad choice if you want it just to avoid updating though. Can't you use SSI or PHP includes at liquid2K?
~pEnGuIn~
May 18th, 2002, 19:19
>> Can't you use SSI or PHP includes at liquid2K?
what are those?
the only problem is i want it to be a black background and it wont!
~Bethany T.
meow
May 18th, 2002, 19:37
They let you include one file in another. You can keep your menu in a separate file and the server puts it in anywhere you put a "special" tag. For SSI it could lok like so:
<!--#include file="menu.txt" -->
I'm afraid I don't understand what you mean. You have a lot of tables with bgcolor="#000044" and that's blue. How does the iframe relate to this?
~pEnGuIn~
May 18th, 2002, 19:45
hmmm maybe ill try that...
~Bethany T.
dawizman
May 18th, 2002, 20:25
does that ssi work in a link? for instance, when you click on a link in the menu bar, it opens up the .txt file in the table? If so, how do you do it(what is the code)?
meow
May 18th, 2002, 20:36
No, it's not like that. Think of it as cutting a piece of the code out with scissors. Any piece. A table, a paragraph, just some text without any tags at all, it doesn't matter.
The server parses the html file and looks for those SSI commands. Where it finds one it inserts the content of the corresponding file before serving the page. When you View Source in the browser it looks just like an ordinary HTML document. And it is. Virtually. ;)
dawizman
May 18th, 2002, 20:38
ok, thanks anyway.:fork:
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.