Forum Moderators: open

Message Too Old, No Replies

alternative to iframe in xhtml?

alternative to iframe in xhtml 1.1?

         

craig1972

5:06 pm on Mar 29, 2003 (gmt 0)

10+ Year Member



hello, i had an iframe on my page with a form. when a user clicked, the response happened in that area itself. this gives the impression of not loading the entire page, and i want to keep this effect. can i do this in xhtml 1.1 compliant manner? my question is, is there any alternative to iframe -- which means i dont need to reload entire page? from the interface?

thanks for any ideas.

jdancing

5:26 pm on Mar 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can create the same effect with layers and javascript. Dreamweaver has a set text of layer behavior that makes it easy. You can put html as the "text" in the layer to change the look of the layer to the same style you had in the Iframe.

craig1972

5:51 pm on Mar 29, 2003 (gmt 0)

10+ Year Member



thanks Jdancing, i dont use dreamweaver (and cannot afford it) so i think i'll be interested in how it is conceptually done.

lets say i have a layer, with a submit button. even if i have a layer which can be used handled through JS to change the innerHtml and display text instead of the form, the "SUBMIT" would mean that the request is sent to the server! that is HTTP protocol, right? (i may be missing something of course)

with an iframe, i could basically send the request inside the iframe, and load the response message inside it. if the iframe was appropriately sized, the user wouldnt even need to know...because all other interface elements on my page were intact..am i explaining myself correctly?

thanks for any ideas u may have..

Harley_m

12:39 pm on Apr 3, 2003 (gmt 0)

10+ Year Member



an <ILayer> tag works the same as an Iframe - but is supported by many browsers that wont touch iframes

any help?

Harley

craig1972

2:57 am on Apr 5, 2003 (gmt 0)

10+ Year Member



Thanks Harley, but iLayer is not a valid tag with XHTML either. Which is my problem...otherwise, iFrame is much more widely supported than iLayer so I'd go with iFrame anyway.

tedster

4:22 am on Apr 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm wondering why you need XHTML 1.1 -- can't you use the xhtml-frameset DTD?