hendra
03-26-2004, 05:32 AM
i was wondering if anybody could help me. When i click on a button how do i make the content to appear in a certain frame and how do i make one design for the whole pages without having to write all the same scripts all over again. Thanks, please help
salomeyasobko
03-26-2004, 05:35 AM
you have to make a separate page of content for each iframe.
like, say you have <iframe name="george" src="home.html"></iframe>
whatever is on your home.html page is what will show up in the iframe.
if you want a link that'll make a different page show up in a specific iframe, you'll have to use targetting. so let's say the iframe is still named george. the link will be:
<a href="http://WHATEVER" target="george"> click here </a>
that will make "http://WHATEVER" show up in george the iframe. i hope that makes sense :rolleyes:
then, to make one design for all your pages, you can use an external style sheet [CSS]
this explains it well: http://www.lissaexplains.com/css.shtml
look through the different pages
hope that helps! :)
twix2006
03-26-2004, 10:29 AM
on lissa's frames page under iframes it says this:
Why does my link open up in the same frame? Links will open up in the same frame if you do not target the frame you want the link to appear in. For instance, if your links are on the left and you want them to open on the right, your tag needs to look like this: <a href="http://address you want to link to" target="rightside">your link name</a> or it will not open in the left frame.