GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   html question (https://gfy.com/showthread.php?t=447190)

xuron 03-22-2005 07:27 PM

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

SureFire 03-22-2005 07:34 PM

I have no idea what you are talking about but CSS works wonders. Good luck :)

xuron 03-22-2005 07:55 PM

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?

xuron 03-22-2005 07:59 PM

I think...
 
I think I found the answer... reading this now.

http://www.dhtmlcentral.com/tutorial...ials.asp?id=11

Kevsh 03-22-2005 08:01 PM

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...

xuron 03-22-2005 08:03 PM

hmm...
 
that seems kinda jerry rigged..

Theres gotta be a way to load a remote url with a layer.

Dynamix 03-22-2005 08:05 PM

if the URL is on the same server as the page you're editing, use PHP...

Code:

<?PHP require("url.html"); ?>

Steve 03-22-2005 08:09 PM

if it is on the same domain, you can do an SSI include
Code:

<!--#include virtual="/page.html" -->

Dynamix 03-22-2005 08:11 PM

Quote:

Originally Posted by Steve
if it is on the same domain, you can do an SSI include
Code:

<!--#include virtual="/page.html" -->

good call, hadn't thought of that.

SureFire 03-22-2005 08:12 PM

Quote:

Originally Posted by xuron
that seems kinda jerry rigged..

Theres gotta be a way to load a remote url with a layer.

If you figure it out in pure html, please post it.

If I am reading your request right, it can be done in any scripting language.

xuron 03-22-2005 08:14 PM

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