473,396 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to open page in required frames.

19
I have a frame with header, menu & body.
I have included one tab button in header part, and when i clicked that button, i want that resulting page to be opened in the body part.

This is my program code for tab in the header part,

<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="css/jscookmenu">
<t:navigationMenuItem id="nav_2"
itemLabel="Health Record"
action="#{menu1.someAction}" target="f3" />
</t:jscookMenu>

I have named header page as f1, menu page as f2 & body page as f3.
but when i click that tab, the resulting page is opening in the header part irself.

How to solve this problem....

Regards,
Vinutha.
Nov 13 '06 #1
1 1840
pronerd
392 Expert 256MB
<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="css/jscookmenu">
<t:navigationMenuItem id="nav_2"
itemLabel="Health Record"
action="#{menu1.someAction}" target="f3" />
</t:jscookMenu>
Maybe its just me but that does not look like JavaScript or HTML. You might want to post in a forum for the language/library you are using.

To open a link in another frame you either need to set up an anchor tag with a target filled in with the name of the frame as defined in the frame tag or use a JavaScript line like parent.<<FrameName>>.location.herf = 'Some URL here'
Nov 15 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: lukeo | last post by:
I'm shelling out to an .asp (or htm) page from an application. I want to show this in a window without the address bar, etc... Is there a way I can redirect this page using javascript to a page...
1
by: ck388 | last post by:
I am trying to open a frameset in a new window......where the frame called "main" shows the file called customerGeneral.aspx. I can't get it to work though...i always get something like...
2
by: DaveO | last post by:
Hi All I have an asp page ( CheckUser.asp ) that checks username and password in an online database as a page is opened. The Users name is then assigned to the Session("UserName") variable. ...
4
by: Fre | last post by:
Hi, i made script with an alert window that should show me the location of the page in frame CONTENT (..../artikels.aspx). But it don't work, i got an error: 'top.frames.1.frames' is empty or nog...
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.