buttons links in frame


 
Thread Tools Search this Thread
Top Forums Web Development buttons links in frame
# 1  
Old 12-25-2009
buttons links in frame

Happy X-Mas to all members...

Hi,
I have one html file page1.html as below
Code:
<HTML>
<HEAD>
<TITLE>Utilities</TITLE>
</HEAD>
         <FRAMESET ROWS="5%,95%">
          <FRAME SRC="frames1.html" NAME=SIDEBAR>
          <FRAME SRC="frames2.html" NAME=SAMPLE>
     </FRAMESET>
</HTML>

the html code for the frames1.html is as below
Code:
<HTML>
<HEAD>
<TITLE>Welcome</TITLE>
</HEAD>
<BODY  bgcolor="#DEB678">
<INPUT TYPE="button" onClick="parent.location='http://gmail.com'" TARGET=SAMPLE>
</body>
</html>

When the button in frame1 is clicked then I want the page to be loaded in the frame2 and not in the same frame.

Plz help me why the above code is not working and correct my code.
Thanks in advance.

Last edited by Scott; 01-01-2010 at 06:44 PM.. Reason: Added code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. AIX

List all the soft links and hard links

Hi I'm logged in as root in an aix box Which command will list all the soft links and hard links present in the server ? (2 Replies)
Discussion started by: newtoaixos
2 Replies

2. Solaris

Hard Links and Soft or Sym links

When loooking at files in a directory using ls, how can I tell if I have a hard link or soft link? (11 Replies)
Discussion started by: Harleyrci
11 Replies

3. UNIX for Advanced & Expert Users

Add multiple buttons in frame using TCL/TK.

Hi all, I am trying to add multiple buttons in frame using TCL/TK. If i am adding more buttons then they will not shown in the frame, as all are added in single line. I wanted to put them in the next line once it reaches to end of frame. I wanted to put them like below: ... (0 Replies)
Discussion started by: singh.mmt
0 Replies

4. Shell Programming and Scripting

replace buttons with hyperlinks

I have a script that uploads file push buttons, but i want to replace buttons with hyperlinks. Please send suggessions Thanks (1 Reply)
Discussion started by: handshakeit
1 Replies
Login or Register to Ask a Question