Help - Search - Members - Calendar
Full Version: Little Help Please
Zymic Webmaster Forums > Web Design & Development > Client Side Scripting > HTML and CSS
Unistic
Ok i got a free template here wish is really good thanks...

Ok i set up my navigation etc...

most of my pages open in different windows cause there applications...

Ok im using Komposer to edit the template with my links...


Also the template came with an index.html and a home.html... what ever is on the home.html
shows up in the iframe in the center of the index.html file...

What i need to know is which i click on another link, how do i get it to open in the center of index.html (iframe) so i can
keep the navigational bars and such in the same place...

At the moment if i open a link it takes me to another page with no navigation at all!

if you understood this please help me and thanks!
MrTouz
Ok, on your navigation the first button called HOME (which opens in the iframe) inside the code you should have somlething like :

CODE
<a href="home.html" target="NAME">HOME</a>


the target is what you are looking for, see in HTMl you can target a link anywhere you want :
CODE
"_blank"
"_parent"
"_self"
"_top"


Currently what you have is "_blank" on your other pages because it opens your links in a new window, so you want to change "_blank" by the nameof your iframe.

You can find the name of your iframe on your HOME link (since its targeting the iframe, or you can find it in the iframe code which should look like this :

CODE
<iframe name="NAME" src="home.html"....... </iframe>


So just replace the target biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.