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)
-   -   I need a code for a pop up window...can anyone help? (https://gfy.com/showthread.php?t=415375)

Jace 01-12-2005 12:10 AM

I need a code for a pop up window...can anyone help?
 
I need something that doesn't require a tag in the <head> of the html

when someone clicks a certain image it pops open a window with specific dimensions

anyone got something for me?

MBS Auto 01-12-2005 12:11 AM

Java okay????

Jace 01-12-2005 12:12 AM

Quote:

Originally Posted by MBS Auto
Java okay????

sure, as long as it doesn't make me include anything in the head...i just need it to be a a href link basically...

JDog 01-12-2005 12:13 AM

Can do that easily in JavaScript.

jDoG

HAPPYPEEKERS 01-12-2005 12:13 AM

I have a code for a pop under that beats sp2 if you want it

rickholio 01-12-2005 12:14 AM

<IMG SRC=blah.gif onClick="window.open('otherpage.html', 'framename','width=640,height=480')">

Will that do?

JDog 01-12-2005 12:14 AM

Quote:

Originally Posted by Happypeekers
I have a code for a pop under that beats sp2 if you want it

If it is in a herf link - no browser will block it. It will only pop up once somebody clicks on it and popup blockers don't mind that.

jDoG

Jace 01-12-2005 12:14 AM

Quote:

Originally Posted by JDog
Can do that easily in JavaScript.

jDoG

yeah, i never bothered to learn javascript though...LOL

sharpx9 01-12-2005 12:14 AM

just whorin through...

MBS Auto 01-12-2005 12:16 AM

<SCRIPT LANGUAGE="JavaScript">
<!--
function GetCookie(name) {
var arg=name+"=";
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if (document.cookie.substring(i,j)hahahahaarg)
return "here";
i=document.cookie.indexOf(" ",i)+1;
if (ihahahaha0) break;
}
return null;
}
var visit=GetCookie("COOKIE1");
if (visithahahahanull){
var expire=new Date();
window.name = "thiswin";
newwin=open("valentines.htm", "dispwin",
"width=590,height=300,scrollbars=no,menubar=no ");
document.cookie="COOKIE1=here; expires=Thu 01-01-2004 00:00:00 GMT;";
}
// -->
</SCRIPT>

Jace 01-12-2005 12:16 AM

Quote:

Originally Posted by rickholio
<IMG SRC=blah.gif onClick="window.open('otherpage.html', 'framename','width=640,height=480')">

Will that do?

worked perfectly

thanks

MBS Auto 01-12-2005 12:16 AM

valentines.htm replace that with your htm page

rickholio 01-12-2005 12:17 AM

Quote:

Originally Posted by JaceXXX
worked perfectly

thanks

:thumbsup

HAPPYPEEKERS 01-12-2005 12:18 AM

<SCRIPT>
<!-- BEGIN EXIT CODE
var console=true;
function exit()
haha123;
if (console) haha123;
window.showModalDialog("http://domain.com/pop.html",null,"dialogWidth:" + screen.availWidth + "px;dialogHeight:" + screen.availHeight + "px;center:1;scroll:1;help:1;resizable:1");
}
}
// END EXIT CODE -->
</SCRIPT>



*Change http://domain.com/pop.html to the URL or path to your console file.
*Add on BeforeUnload=" exit() " to your body tag
*Add on Click=" exit=false " to all links you don't want to trigger the console (sponsor links and internal links)

EDIT....

Opps.. looks like I was not fast enough.. here it is anyways in case you ever need it lol

:-)


All times are GMT -7. The time now is 03:21 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123