Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Frames
Danny
post Sep 30 2006, 12:58 AM
Post #1


Advanced Member
*******

Group: Members
Posts: 113
Joined: 23-February 06
Member No.: 19,035



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

A folder "Danny"

Things Inside

Danny:

Index.html

CODE
<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

CODE
<HTML>
<HEAD>
<TITLE></title>
</head>


<body>
<IMG SRC=DANNY.GIF>
</body>
</html>


Images.html

CODE
<html>
<head>
<title></title>
</head>

<body>

Some pictures here..

</body>

</html>


nav.html

CODE
<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.
Go to the top of the page
 
+Quote Post
jlhaslip
post Sep 30 2006, 02:14 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,993
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Try using the following:
CODE
<A HREF="images.html" target=Images>Pictures</A>

For all I know, it might work.
Go to the top of the page
 
+Quote Post
hype
post Sep 30 2006, 02:53 AM
Post #3


Legend Killer
*********

Group: Members
Posts: 678
Joined: 15-April 05
From: Singapore
Member No.: 5,697



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

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


CODE
<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/
Go to the top of the page
 
+Quote Post
Urza
post Oct 5 2006, 06:44 AM
Post #4


Newbie [Level 1]
*

Group: Members
Posts: 13
Joined: 5-October 06
Member No.: 31,096



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
Go to the top of the page
 
+Quote Post
Lozbo
post Oct 11 2006, 06:03 PM
Post #5


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



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 =D

It'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

www.cucea.udg.mx/ineser/alap/congreso/

notice how the content stays absolutely positioned in the browser window, and yet I was not using frames there, its just pure xhtml and css!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Need Help With Frames(6)
  2. Advanced Html Frame Tag(3)
  3. Frames Tutorial(2)


 



- Lo-Fi Version Time is now: 5th September 2008 - 11:51 PM