![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Mar 2004
Location: on the run from everyone i owe money
Posts: 1,899
|
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 ![]()
__________________
www.trafficoverdose.com. ICQ me 171848378 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2004
Location: USA
Posts: 1,692
|
have you tried throwing a( target="_blank" ) in there?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 3,108
|
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.
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right." - Charlie Munger |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 3,108
|
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!
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right." - Charlie Munger |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2004
Posts: 392
|
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.
__________________
.... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Mar 2004
Location: on the run from everyone i owe money
Posts: 1,899
|
__________________
www.trafficoverdose.com. ICQ me 171848378 |
![]() |
![]() ![]() ![]() ![]() ![]() |