Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

hope someone would really help me...HTML

HTML

  • Please log in to reply
2 replies to this topic

#1 joie2

joie2

    CC Newcomer

  • Just Joined
  • PipPip
  • 17 posts

Posted 05 October 2009 - 01:21 AM

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.

  • 0

#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 05 October 2009 - 04:53 AM

HTML a target Attribute
You can't target b.htm, you have to set the name attribute for the frame that contains b.htm.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#3 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 05 October 2009 - 05:47 AM

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

  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download