Forum Moderators: open

Message Too Old, No Replies

iframes

         

mylungsarempty

10:16 pm on Feb 7, 2004 (gmt 0)

10+ Year Member



Is it feasible to have a page, with a script in it which determine's the user's resolution, and which loads in an inline frame if the user has a certain resolution?

Is it possible to have a page with an inline frame, which loads a different part of code on that same page in the inline frame, instead of outside of it?

jimbeetle

10:30 pm on Feb 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There's a current thread on the first part of your question here:

[webmasterworld.com...]

As to the second part, I can't quite twist my head around it, maybe somebody else can better understand it.

mylungsarempty

10:48 pm on Feb 7, 2004 (gmt 0)

10+ Year Member



heh, lemme try to clarify... let's say this is my page:

<HTML>

<HEAD>

</HEAD>

<BODY>

<IFRAME src="(i want the next paragraph to be displayed inside this)" border="0" width="400" height="300"></IFRAME><BR /><BR />

<A name="iframe_content" /><P>this is what would be displayed inside the iframe... and it would not be displayed after the iframe. could javascript or even php do this?</P>

</BODY>

</HTML>

heh, i wonder if that makes it any clearer, what i want to accomplish...

mylungsarempty

5:31 am on Feb 8, 2004 (gmt 0)

10+ Year Member



Well, i've figured out an alternative to what i was trying to do. I am still curious, though, if it's possible to load something in an inline frame without it being on a separate page. This could be handy once in a while...

I propose the <EFRAME> tag. The embedded frame would act identically to an inline frame, except the content of the embedded frame would simply lie between the <EFRAME> and </EFRAME> tags.

That would drastically simplify a lot of design issues, in my opinion.

...by the way--is there any purpose in the IFRAME tag having a closing tag? Can anything useful be stuck between <IFRAME> and </IFRAME>? Heh, i realize this isn't really the proper forum to be discussing HTML tags, but... it's just kindof the direction the issue took (:

mylungsarempty

6:25 am on Feb 8, 2004 (gmt 0)

10+ Year Member



I was reading the HTML forum, and came across this thread: [webmasterworld.com...]

where the reason for the <IFRAME> closing tag suddenly became clear to me, thanks to a post from isitreal.