![]() |
Programmers! Help me please
Hi, Anyone got any idea how to modify this code so that the pop is not full screen. or can anyone give me another code that will beat the pop up blockers and make the pop not quite full screen?
hahahahahahahaha language="hahahahahahahahahaha"> if(navigator.userLanguage hahahaha "en-gb") if ((navigator.userAgent.hahahahahahaha('MSIE') != -1)) { window.showModalDialog("http://","","dialogHeight: " + screen.availHeight + "px; dialogWidth: " + screen.availWidth + "px; dialogTop: 0px; dialogLeft:0px; edge: Raised; center: Yes; help: Yes; resizable: No; status: Yes;"); } </hahahahahahahaha Thanks in advance. $20 paypal if you can help me out on this :thumbsup |
have you tried throwing a( target="_blank" ) in there?
|
Hi,
just change the screen.availHeight and screen.availWidth to the height/width you want.. meaning, just change this: "dialogHeight: " + screen.availHeight + "px; dialogWidth: " + screen.availWidth + "px; ...... to: "dialogHeight: 123px; dialogWidth: 123px; ...... where 123 is the size you want respectively. |
Also, if you wanted it to be for example full height but only full width - 200 pixels wide, you could change the
screen.availWidth to (screen.availWidth - 200) make sure to put the ( ) around it though! |
change screen.availheight to 600 or so .. and screen.availwidth to 800 .. if thats what you ment.
or screen.availhright/2 screen.availwidth/2 .. then you get a popup half the size someones screen resolution. |
|
All times are GMT -7. The time now is 10:33 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123