Jump to content
xisto Community
Danny

Frames

Recommended Posts

I need help with frames... ok so this is what i have.

A folder "Danny"

Things Inside

Danny:

Index.html

<HTML><HEAD><TITLE></TITLE><link rel="stylesheet" href="style.css" type="text/css"></HEAD><FRAMESET cols="15%, 85%">  <FRAME src="nav.html" Scrolling=NO NoResize FrameBorder="0" Marginwidth="100" MarginHeight="100">	  <frame src="home.html" noresize frameborder="0" name=Home>	  <frame src="images.html" noresize frameborder="0" name=IMAGE>  </FRAMESET></HTML>

Home.html

<HTML><HEAD><TITLE></title></head><body><IMG SRC=DANNY.GIF></body></html>

Images.html

<html><head><title></title></head><body>Some pictures here..</body></html>

nav.html

<HTML><HEAD><TITLE></title><link rel="stylesheet" href="style.css" type="text/css"></head><body><BR><BR><BR><A HREF="home.html" target=Home>Home</A><A HREF="images.html" target=IMAGE>Pictures</A><A HREF=""></A><A HREF=""></A><A HREF=""></A>	</body></html>

and a

style.css



I typed all of this, and now nav.html, should be my navigation bar which looks great so far, but when i press pictures link, which i used Target=IMAGE so it would appear in the frame i belive. What am i doing wrong? I would really appreciate all the help possible. Thanks.

Share this post


Link to post
Share on other sites

Its better to place quotations on every attribute so as to conform to the standard now... Using lower caps maybe more of a help... So maybe you can put something like

<frame src="images.html" noresize frameborder="0" name="IMAGE"/>

<a href="images.html" target="IMAGE">Pictures</a>

Maybe this would solve the problem, and also try to get your html pages validated with the standard to be able to work on all browser...

http://validator.w3.org/

Share this post


Link to post
Share on other sites

like hype said you really should use quotations around ALL attributes, and i believe the standard is they should all be in lower case as well.also from what i hear and personal preference regular frames are a bad a bad idea. I think it's a better idea to put the dynamic part(s) of the page within an iframe and using css positioning or just regular HTML for the rest of the page

Share this post


Link to post
Share on other sites

I would also advice to try to switch from html frames to a xhtml + css based design... here at the trap seventeen forums we can help make the transition smoother for you =DIt's not actually that hard to swicth from frames to server side includes in php (for example), and they work the same way (more or less hehe) and you can even have the css display the items as if it was a frame... like this page http://forums.xisto.com/no_longer_exists/how the content stays absolutely positioned in the browser window, and yet I was not using frames there, its just pure xhtml and css!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.