Sponsored Content
Full Discussion: buttons links in frame
Top Forums Web Development buttons links in frame Post 302382751 by villain41 on Friday 25th of December 2009 12:33:02 AM
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
 

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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
ttk::frame(n)							 Tk Themed Widget						     ttk::frame(n)

__________________________________________________________________________________________________________________________________________________

NAME
ttk::frame - Simple container widget SYNOPSIS
ttk::frame pathName ?options? _________________________________________________________________ DESCRIPTION
A ttk::frame widget is a container, used to group other widgets together. STANDARD OPTIONS
-class -cursor -takefocus -style See the ttk_widget manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS [-borderwidth borderWidth] The desired width of the widget border. Defaults to 0. [-relief relief] One of the standard Tk border styles: flat, groove, raised, ridge, solid, or sunken. Defaults to flat. [-padding padding] Additional padding to include inside the border. [-width width] If specified, the widget's requested width in pixels. [-height height] If specified, the widget's requested height in pix- els. WIDGET COMMAND
Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget(n). NOTES
Note that if the pack, grid, or other geometry managers are used to manage the children of the frame, by the GM's requested size will nor- mally take precedence over the frame widget's -width and -height options. pack propagate and grid propagate can be used to change this. SEE ALSO
ttk::widget(n), ttk::labelframe(n), frame(n) KEYWORDS
widget, frame, container Tk 8.5 ttk::frame(n)
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy