I'm looking for I Frame source code, I have a demo page I'm working on with no luck. Sample I would like a sample page or something to base mine off of. I like the idea of a hybread of layers and frames.
:ninja:
I'm looking for I Frame source code, I have a demo page I'm working on with no luck. Sample I would like a sample page or something to base mine off of. I like the idea of a hybread of layers and frames.
:ninja:
Can you be more specific in what you want?
filburt1, Web Design Forums.net founder
Site of the Month contest: submit your site or vote for the winner!
<iframe id="yourframe" name="yourframe" frameborder="0" src="yourframe.htm"></iframe>
Aaron Elliott
www.forwardtrends.com
well I want that window to display all my links... I want it to replace THIS
all I could find online was crap about normal frames ugh :dead:
:ninja:
My book (HTML & XHTML) specifically states that iFrames can be placed anywhere an <img> tag can be placed. From this, I assume that if you treat iFrame as an image with a specific page for content, you won't be far off the mark.
It also states that all the other attributes are the same as the frame tag.
DerFarm
I talk to squirrels.
Squirrels Answer.
an iframe is just about the same as a normal frame, you could make the links in a separate page lets say it is called 'menu.htm', then it could be placed in a table (correct me if i am wrong) to sort out the page layout. Like a frame the iframe can have an id, so content from links in different parts of the page can be loaded. An iframe can have a border or no border and can be specified to different sizes. To display a menu.htm page in an iframe you would type..
If you would like to place it in a table with an image for an example to the left it would be...<iframe src="menu.htm" width="400" height="400" name="menu" frameborder="0"></iframe>
If you want more information on iframes i suggest that you search for something like iframe attributes on google.<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="whatever.gif" height="400" width="400"></td>
<td><iframe src="menu.htm" width="400" height="400" name="menu" frameborder="0"></iframe></td>
</tr>
</table>
i am not sure if this is what you wanted as i didn't totally understand your question! :chinese: lol
JR
Side note: any HTML between the <iframe> and </iframe> tags will be displayed for browsers that don't support iframes (NS4 doesn't IIRC).
filburt1, Web Design Forums.net founder
Site of the Month contest: submit your site or vote for the winner!
If you don't mind dealing with a few popups here and there, try http://www.htmlcompendium.org . They generally explain the attributes of tags pretty well and IFRAMES are no exception.
If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.
If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.
My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)
Agreed, a useful source, but with the ads everywhere and now a subscription fee I think you should find an alternative place for HTML reference...
filburt1, Web Design Forums.net founder
Site of the Month contest: submit your site or vote for the winner!
Yeah, they royally sold that site down the river. Not that I can totally blame them but still...
If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.
If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.
My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)