-
pop up windows and XP SP2
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
window.open(theURL,winName,features);
}====================or===========================
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+’,’;}
if(p){p=p.split(‘:’);if(p[0]!=’z’){p[0]==’c’?(x=(screen.width-w)/2):x=p[0];f+=’left=’+x+’,’;}
if(p[1]!=’z’){if(p[0]==’c’){y=(screen.height-h-p[1])/2;if(navigator.appName.indexOf(‘Op’)!=-1){
y-=96;y=y<0?0:y;}}else{y=p[1];}f+='top='+y+',';}}a=arguments.length;if(a>5){for (k=5;k
Sorry, there were no replies found.