![]() |
html question
What is the best way to load a url below a header, I can't use frames because they have a frame breakout script. I was thinking of using a layer, but never did that before.
How would I do it? thanks |
I have no idea what you are talking about but CSS works wonders. Good luck :)
|
more info
Ok for example, lets say I have html code taking up 25% of the top part of the screen in a regular html document.
The 75% of the rest of the screen , I need to load another url using a layer, I tried using the src but it doesn't seem to load.. Do I create the layer below, and then use javascript to load the remote url into the layer? |
I think...
I think I found the answer... reading this now.
http://www.dhtmlcentral.com/tutorial...ials.asp?id=11 |
I've never seen or heard of a file being loaded into a layer - I think it's a document object (like a <TABLE>) which prevents that.
If you are trying to load a URL into a page and the page you are loading doesn't want to be in a frame (hence, the breakout script), you might try adding an IFRAME of a 2-frame layout page with theirs in the bottom. Make the 2nd frame 100% and see if their page pops into the IFRAME or breaks it entirely. <IFRAME SRC="iframe.html"></IFRAME> iframe.html contains 2 frames: top.html [their page].html Hope that kind of makes sense. If it doesn't work you may try a JS timeout that changes the TARGET of the IFRAME after a few seconds. I'd have to fish for some code I used once to do something similar... |
hmm...
that seems kinda jerry rigged..
Theres gotta be a way to load a remote url with a layer. |
if the URL is on the same server as the page you're editing, use PHP...
Code:
<?PHP require("url.html"); ?> |
if it is on the same domain, you can do an SSI include
Code:
<!--#include virtual="/page.html" --> |
Quote:
|
Quote:
If I am reading your request right, it can be done in any scripting language. |
its on a remote server...
it can be done because I see it all the time.. |
| All times are GMT -7. The time now is 01:40 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123