FORUMS: list search recent posts

pop up windows and XP SP2

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
mikegondekpop up windows and XP SP2
by on Apr 23, 2005 at 3:50:48 am

I have website with small icons of product shots, and when the user clicks on the small icons I need a bigger image at 370 pixels to come up in a window which uses only 370 pixels.

No problem with the basic javascript, except SP2 blocks the windows adn even turned off the pop up blocker is going nuts.

Below is the code I am using

function MM_openBrWindow(theURL,winName,features) { //v2.0,winName,features);


function dpSmartLink(u,n,w,h,p) { // v1.4 by David Powers
var a,j,k,x,y,f='';if(!n){n='';}if(w){f+='width='+w+',';}if(h){f+='height='+h+',';}
y-=96;y=y<0?0:y;}}else{y=p[1];}f+='top='+y+',';}}a=arguments.length;if(a>5){for (k=5;k switch(arguments[k]){case 'all':f+='toolbar,menubar,location,scrollbars,status,resizable,';break;
case 't':f+='toolbar,';break; case 'm':f+='menubar,';break;case 'l':f+='location,';break;
case 'sc':f+='scrollbars,';break;case 's':f+='status,';break;case 'r':f+='resizable,';}}}

===============================neither work with SP2===========================

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved