GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Programmers! Help me please (https://gfy.com/showthread.php?t=322929)

Digibucks 07-07-2004 04:50 AM

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

SS396chevelleSS 07-07-2004 04:51 AM

have you tried throwing a( target="_blank" ) in there?

Nathan 07-07-2004 04:52 AM

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.

Nathan 07-07-2004 04:53 AM

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!

Robertf 07-07-2004 04:53 AM

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.

Digibucks 07-07-2004 04:54 AM

to see the code properly visit

http://www.fuck-stop.com/code.htm


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