on 09-12-2008 9:51 PM
Hi everyone,
I'm working with frames. Need to set a page in another frame, it is so simple using "Target", but how can i do this from OnInputProcessing ou OnInitialization events?
Thanks,
Points'll be rewarding,
Alexandre
in oninputprocessing set some variable to a value and in the layout check the variable , based on the variable value you could call a js function to open the url in a another frame.
<% if test = "success" . %>
script
window open ('targetur', 'framename');
/script
<% endif . %>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raja,
This statament does not work with 'framename' parameter, framename means the windows name.
I have to use "parent" statament, but I still got a question, take a look below:
<frameset rows="70,*" framespacing="0" frameborder="0">
<frame name="title" src="header.htm" scrolling="no" noresize>
<frameset cols="200,*" framespacing="0" frameborder="0">
<frameset rows="50%,*" framespacing="0" frameborder="0">
<frame name="menu01" src="menu.htm" scrolling="auto">
<frame name="menu02" src="loading.htm" scrolling="auto">
</frameset>
<frame name="mainbody" src="Right.htm" scrolling="auto">--%>
</frameset>
</frameset>
Inside my "Right.htm i have the following:
<frameset rows="80%,20%" MARGINWIDTH="0" frameborder="0" framespacing="5" MARGINHEIGHT="0">
<frame style="border-bottom-style:solid;border-color:#A5B1BF;border-width:1px" src="create_po.htm" name="control">
<frame src="atp_trucks.htm" name="coding">
</frameset>
If i try to make any communication between those frames, they does not recognize those that are inside the "right.htm".
but if i take off them and leave like below, its works very well:
<frameset rows="70,*" framespacing="0" frameborder="0">
<frame name="title" src="header.htm" scrolling="no" noresize>
<frameset cols="200,*" framespacing="0" frameborder="0">
<frameset rows="50%,*" framespacing="0" frameborder="0">
<frame name="menu01" src="menu.htm" scrolling="auto">
<frame name="menu02" src="loading.htm" scrolling="auto">
</frameset>
<%-- <frame name="mainbody" src="defaultRight.htm?tag=create_po" scrolling="auto">--%>
<frameset rows="80%,20%" MARGINWIDTH="0" frameborder="0" framespacing="5" MARGINHEIGHT="0">
<frame style="border-bottom-style:solid;border-color:#A5B1BF;border-width:1px" src="create_po.htm" name="control">
<frame src="atp_trucks.htm" name="coding">
</frameset>
</frameset>
</frameset>
My question is, how can i make any communication or data transfer in the first pattern?
I have already test all of these:
parent.frames[X].document.forms[0].cxtexto.value='test'.
My page "right.htm" is a dynamic page, thats why i need it.
Thank you in advance,
Alexandre
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.