Jump to content

hope someone would really help me...HTML

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
joie2

joie2

    Newbie

  • Members
  • PipPip
  • 17 posts
im making a simple html page but a was stock how to make a link be seen on another frame...here's my code...
homepage
<html>
<frameset rows="30%,*">
  <frame src="a.htm" />
  <frame src="b.htm" />
</frameset>
</html>

a.htm
<html>
<body bgcolor="#3BB9FF"><br>
	<form action="in.htm"method="get"><a href="in.htm"target"forgot.htm"></a>
	Username
	<input type ="text"value="username">
	<br>Password
	<input type ="password"value="password">
	<br>
	<input type="submit"value="Log In">
	<a href ="forgot.htm"target="b.htm"><br><br>Forgot Your Password?</a>
</body>
</html>

b.htm
<html>
<body bgcolor="#6D7B8D">
	<b>Sign Up</b><br><br>
	email:<input type="text"><br>
	name:<input type="text"><br>
</body>
</html>

ok...let me explain for you to understand...by the time user clicks log in it would log in to the users home which will appear in the second or the below part of the page(the gray one) and if the user clicks on 'forgot password' still a page on the gray part would appear letting the user to fill out some details...
opssss sorry but as long as the user did not log in the gray part is empty...

pls...pls....pls....help...thanx in advance..

Edited by Jordan, 05 October 2009 - 05:46 AM.
Please use code tags.


#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
HTML a target Attribute
You can't target b.htm, you have to set the name attribute for the frame that contains b.htm.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Also, you have you are missing an equal sign in your <a> tag:
<a href="in.htm"target"forgot.htm">

Should be:
<a href="in.htm"target="forgot.htm">