Hi Vaishali,
I joined y'day in this group and i got only reply mails to ur original query.
What i understood from the mail is , u want to open a popup window and it should
retain the focus. Try the below code , hope this is want u wanted. If u have any
better solution pls let me know.
Cheers
Raghavendra Reddy
<html>
<head>
<script>
var flag=true;
function openwin(x,y,a){
if(flag){
var myBars='directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no';
var myOptions='scrollbars=no,width=+x+,height=+y+,resizeable=no';
var myFeatures=myBars +','+myOptions;
newwin=open('',a,myFeatures);
newwin.document.writeln(a);
newwin.focus();
flag=false;
}
else
{
newwin.close();
var myBars='directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no';
var myOptions='scrollbars=no,width=+x+,height=+y+,resizeable=no';
var myFeatures=myBars +','+myOptions;
newwin=open('',a,myFeatures);
newwin.document.writeln(a);
newwin.focus();
flag=false;
}
}
</script>
</head>
<body>
<a href="javascript:openwin('200','300','Raghu')"> pos1</a> <br><br>
<a href="javascript:openwin('300','300','Reddy')"> pos2</a> <br><br>
</body>
</html>
"Vaishali S. Pandya" <[EMAIL PROTECTED]> wrote: as u have seen , i open a new
window using target="_new"
i have a list of positions.
when i click on one of the pos, pos1, it opens a new window with the
datails of the pos1
when i go to click on another pos, pos2, it doesn't open a new(third)
window but go to that window having detail of pos1 and change it for pos2
here if i use java script it will open a new window for each pos.
so if user will click on x diff pos, x IE windows will be opened at a time
that i don't want.
so i don't use javascript here.
now here is my que
first click will work fine as the new window will be shown up.
but!!! when user will go to click on pos2, my main window will come on top
and detail window goes under it.
what i want is every time that second window should be on top after
clicking.
and i think customer will like it.
if u can get me , pls help if u have any idea.
if want some more info pls write me
Thanks
Vaishali
Reliance Ind Ltd
Ahmedabad
Baskaran S
ltants.com> cc:
Subject: RE: window on top
07/03/02 04:00 PM
Vaishali,
do u mean to say on the top of the window??
u can use javascript's window.open ()
Regards
baskar
> ----------
> From: Vaishali S. Pandya
> Sent: Wednesday, July 03, 2002 14:11
> To: [EMAIL PROTECTED]
> Subject: window on top
>
> " target=_new>
> (, )
>
> this works fine
> how to keep this new window on top?
>
> Thanks and Regards
> Vaishali
> Reliance Ind Ltd
> Ahmedabad
>
>
==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com