layering/dumb question

liunx

Guest
I'm starting a web page, and i was wondering if there is a way to get a layer to come from an outside file. Like i have a few pages that will have lots of pics on them, and i need to use layers due to the flash menus i'm using, but i don't want to use <div> cause it will take too long to load all the pictures.
Is there a way with the css to make layers using code that isn't on the main page???
Thanks!!

:confused:Would the iframe be a better solution for you?What is Iframes?? Yes, i know i should know that, but....??

Thanks!an iframe is an inline frame. Basically they are better from an accessibility point of view.

They work like this:

You have a list of links, as you would to a different page. The page you link to has only content on it - no menu (unless you want one), but is a html page in its own right.

The new page will open in the iframe, leaving your menu etc alongside it.

They are coded as follows:

LINKS:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"info1.htm" target="info">Info1 sheet</a>

IFRAME:
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"content_of_iframe_when_page_loads.htm(blank for none)" name="info"></iframe>

if you use the src then you will need to provide a hyperlink between the iframe tags to this page, for any old browsers which don't support iframes.


I have a demo, but used for an image gallery:
<!-- m --><a class="postlink" href="http://emdevelopments.co.uk/demo/iframe/">http://emdevelopments.co.uk/demo/iframe/</a><!-- m -->
 
Back
Top