tckoon Posted August 15, 2008 Share Posted August 15, 2008 Hi all,I managed make the url pop up windows works, user click on the url link the url is open in new pop up window.When click on the other url, it open in the same window. I am using the behaviour " open browser window"But the problem is the window is hide by main browser window when click on the link.How to make it to get the pop up window in active state after the page is loaded in the pop up window.So it will not get hide by main window.Regards Link to comment Share on other sites More sharing options...
Ingolme Posted August 15, 2008 Share Posted August 15, 2008 Can you show the code you're using to open the popup window? Link to comment Share on other sites More sharing options...
tckoon Posted August 15, 2008 Author Share Posted August 15, 2008 I am using MS Expression.<script type="text/javascript"><!--function FP_openNewWindow(w,h,nav,loc,sts,menu,scroll,resize,name,url) {//v1.0 var windowProperties=''; if(nav==false) windowProperties+='toolbar=no,'; else windowProperties+='toolbar=yes,'; if(loc==false) windowProperties+='location=no,'; else windowProperties+='location=yes,'; if(sts==false) windowProperties+='status=no,'; else windowProperties+='status=yes,'; if(menu==false) windowProperties+='menubar=no,'; else windowProperties+='menubar=yes,'; if(scroll==false) windowProperties+='scrollbars=no,'; else windowProperties+='scrollbars=yes,'; if(resize==false) windowProperties+='resizable=no,'; else windowProperties+='resizable=yes,'; if(w!="") windowProperties+='width='+w+','; if(h!="") windowProperties+='height='+h; if(windowProperties!="") { if( windowProperties.charAt(windowProperties.length-1)==',') windowProperties=windowProperties.substring(0,windowProperties.length-1); } window.open(url,name,windowProperties);<div style="position: absolute; width: 82px; height: 16px; z-index: 1; left: 28px; top: 561px" id="layer20" class="style54" onmouseout="FP_changePropRestore()" onmouseover="FP_changeProp(/*id*/'layer20',1,'style.color','#99CCFF')" onclick="FP_openNewWindow('380', '450', false, false, false, false, false, false, 'order', /*href*/'ordering/how-to-order.htm')">How to Order</div> Link to comment Share on other sites More sharing options...
Ingolme Posted August 15, 2008 Share Posted August 15, 2008 I'd change the end of the code like this: [...]newWin = window.open(url,name,windowProperties);newWin.focus(); Link to comment Share on other sites More sharing options...
tckoon Posted August 15, 2008 Author Share Posted August 15, 2008 I'd change the end of the code like this:[...]newWin = window.open(url,name,windowProperties);newWin.focus(); It works, thanks !.I try many method recommended by other forum peoples it does not work.This one work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.