Forum Moderators: open
I tried using iframes at first but safari won't show the content if the size is a percentage rather than an actual pixel dimension. so a scrolling div seemed to be the answer....but im new to scrolling divs and dont know how to load in the html page!
Can anybody help?
Thanks
That might work in many browsers, but I don't think it will validate.
I think the iframe is propriety Microsoft, so it's not useful because not many browsers will support it.
The virtual includes are usually used with pieces of web pages. They are separate files, but usually not an entire web page, at least not as I use them.
Perhaps it would help if you describe what the function/purpose of this page is. Then we might come up with better ideas for you.
And if NN4 still matters to you, there is a non-standard <ilayer> tag that it supports. Just nest the iframe within an ilayer and all recent browsers should be OK, although the ilayer does not validate.
Includes work well when you want to include HTML "snippets" but not a full document.
I have an index page already set up which includes a flash menu, titles etc etc. I then want the main content of the website to load in to a frame on the index page.
It's only a small site and I have separate htm documents where the content is set out... separate tags for <html>, <body> etc.
When you select an option from the flash menu I want to content in the frame to change by loading the relevant htm document.
I've disabled scrollbars on the site. The only scrollbar I want to use is a scrollbar on the actual content frame. ie. I don't want to lose the menu and title when the user scrolls. This scrollbar will only appear/be necessary if the users resolution prevents all the content from being displayed in one view, hence why I need this frame to be sized as a percentage.
Hope this makes things clearer!
Thanks
The question I'd ask myself is whether there is a good reason to make users figure out how your page works and good reason to risk alienating them.
If it's how to target the inline frame from a link, just give the iframe some matching attributes of name="somename" and id="somename", and then use an attribute of target="somename" on the link.
If it's how to place those links in a Flash menu, the folks in our Flash Forum [webmasterworld.com] should be able to help you the best.
If it's something I've missed, just ask.