Forum Moderators: open

Message Too Old, No Replies

a suggestion for the next HTML version

the <EFRAME> tag

         

mylungsarempty

6:19 am on Feb 12, 2004 (gmt 0)

10+ Year Member




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.

I feel this would be an improvement in HTML and solve many design issues. Do you think this is a good thought? How could i go about promoting it's support in future browser releases?

DrDoc

6:26 am on Feb 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Though it may sound like a good idea, I really don't think there's a need for that element (sorry). If you want to embed a whole element, use iframe. If you want to be able to embed just "code", put that code inside a div (scrollable if you want it to be).

tedster

6:58 pm on Feb 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My guess is that you are unhappy with the fact that <IFRAME> content is off the page in another HTML doc. If that's the issue, a scrollable div will put the content in the document.

But then that leaves you without the ability to make straightforward links to change the content. If you show/hide content for scrollable divs, then the document becomes long, and search engines may send people to your site based on hidden content.

Is this what you're wresting with?

mylungsarempty

3:07 am on Feb 13, 2004 (gmt 0)

10+ Year Member



I actually just learned today that i can scroll a <div>. I was totally unaware of this. It would be nice if links could be used to change the content... that is how it isn't like an <iframe>, and that is what is dissapointing. Sure, i could link to an anchor tag, but... thats just not as fun!

How does the browser support for showing/hiding layers? I had a site once that utilized the concept that wouldn't work at all in netscape.

tedster

8:21 pm on Feb 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It would be nice if links could be used to change the content

This is done with javascript links - the parent div holds several child divs, with only one visible at a time and then the links change visibility.

I'm using it on one site, but it then requires another script to catch search engine traffic and make the correct child div visible so the search term is visible. As I mentioned, this approach also suffers from putting lots of text into on HTML document. But so far, the site is doing quite well and the users rave because the content switches instantly.

Cross browser works fine on all the mac and pc versions I've tested - Safari, Moz, NN, IE, Opera