Click to See Complete Forum and Search --> : Pls help me! Final year project question
richi
03-14-2003, 07:47 PM
Hi!
I have a window(e.g window X) with two frames "left" and "main". On clicking a link from the "main" frame , a pop up window is opened. The problem I am having is trying to refresh the "main" frame only of window X when the pop up window closes. I have searched in many places and cant find the help i need. I have found code to refresh the WHOLE window X but this is not what I want, as when the whole window is refreshed the document of "main" frame is changed.
Please give me any ideas, advice or examples.
Much appreciated.
Richi
khalidali63
03-14-2003, 08:09 PM
here is another solution
<script type="text/javascript">
function Process(){
var prnt = top.opener.parent.frames[1];
prnt.window.location.href = prnt.window.location.href;
}
</script>
</head>
<body onunload="Process()">
Ad the above code to your popup window page.Make sure the body tag has the onunload event that calls Process() function.
:D
Khalid
khalidali63
03-14-2003, 08:39 PM
Not again....
take a look at this thread....
I just hope you are not trying to pick another fight at this forum..
Khalid
khalidali63
03-15-2003, 06:19 AM
Originally posted by Dave Clark
.....answer that isn't even as good as the answer already given. ...................
Dave
Just reading this line shows that what kind of mindset you have...Are we in your class room here?
Does people post code here for your to approve it or disaprove it,
Do we have to follow your coding standards( God forbid if we cant then we get comments like this from you).
Originally posted by Dave Clark
......personally. I'm just trying to understand you................
Dave
How naive.....never saw some one trying to understand the other by not leaving a chance to criticise...
Here is what I suggest,
you let the members of this forum be the judge of a better or worse code or usefull or not usefull code
I have no intention of writing anything more on this topic nor I ever learned to be as rude.
I am here only for 1 purpose to help people who seek assistance,I'll keep doing that with or without any one's aproval,
If you can live with that good,
else take care
and Cheers
Khalid
khalidali63
03-15-2003, 08:51 AM
blah...blah...blah..
the fact that you are so immature and uncivilised and have a brain of 3 yr old disgusts me..
I promise myself to not respond to anymore of your worthless posts on this thread.
richi
03-19-2003, 08:46 AM
thank thank thank you very much... to all of u guys.
I adpapted it into my coding and changed a few bits as I did realise it was loading from the cache :p
But it works perfect guys.
P.s. No need to start a war over it...theres enough of that already.
Also..they were both useful David and Khalid.
khalidali63
03-19-2003, 09:19 AM
Originally posted by richi
... I did realise it was loading from the cache ........
The reloading from cache is only IE specific,IE should not do this.
But heck there are allots of things which IE does that it should not do..
:p
Cheers
Kahlid