PDA

View Full Version : I-Frames



Freeman
09-20-2005, 03:12 PM
This is going to sound kinda stupid but what is the correct scripting for creating, I think there called I-frames. Thanks for the help. JF

jscheuer1
09-21-2005, 02:30 AM
It's not javascript but HTML that creates an iframe, in its simplest form:

<iframe></iframe>

Use Google to find out more ('iframe attributes' would be a good search string). If you want to create an iframe using javascript, there are two basic methods, the document.write() method and the document.createElement() method. I think you better stick to just making one with HTML first unless I've misjudged the level of your question, for which I apologize.

Freeman
09-22-2005, 03:59 PM
No no. I am learning how to do all of this stuff so any help is good. Thanks for the suggestion. JF