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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-07-2004, 04:50 AM   #1
Digibucks
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
Digibucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:51 AM   #2
SS396chevelleSS
Confirmed User
 
Join Date: Mar 2004
Location: USA
Posts: 1,692
have you tried throwing a( target="_blank" ) in there?
SS396chevelleSS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:52 AM   #3
Nathan
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
Nathan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:53 AM   #4
Nathan
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
Nathan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:53 AM   #5
Robertf
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.
__________________
....
Robertf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:54 AM   #6
Digibucks
Confirmed User
 
Join Date: Mar 2004
Location: on the run from everyone i owe money
Posts: 1,899
to see the code properly visit

http://www.fuck-stop.com/code.htm
__________________
www.trafficoverdose.com. ICQ me 171848378
Digibucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.