PDA

View Full Version : Auto popup script



[$]
13-04-2006, 04:31 AM
Anyone got the code for a Auto popup? like when you visit the site, it auto popups. ;)

Encryptions!
13-04-2006, 07:11 AM
Hello.

You could easily do this with a Javascript alert.


<script type="text/javascript">
<!--
alert("Text For Your Alter");
//--!>
</script
Hope this helped.
Encryptions

[$]
13-04-2006, 07:30 AM
Hello.

You could easily do this with a Javascript alert.


<script type="text/javascript">
<!--
alert("Text For Your Alter");
//--!>
</script
Hope this helped.
Encryptions

I kinda wanted a popup ;[[
like ads lolol but not ads

Encryptions!
13-04-2006, 07:42 AM
Hello.

If you want to still use Javascript you could use a function. I am guessing you could use this; although I haven't tested it.



<script type="text/javascript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=200,height=200');");
}
// End -->
</script>

And then:



<body onLoad="javascript:popUp('url')">
Hope this helps.
Encryptions

D3stroyer
13-04-2006, 07:48 AM
Nice post Dan + Rep :)


Daza

[$]
13-04-2006, 10:56 AM
The code isn't work plus i found a working code i was bad due to many browsers having "Block popups" so i just made a Popup link ;)

AngryDino
16-04-2006, 04:12 AM
http://www.habbolayouts.com/layouts/free/freelayouts/updating/

maybe that could help you, check it out i think its what you want eh :D

JoeComins
16-04-2006, 09:42 AM
I cant see why you would WANT to use pop-ups, as they are a major pain in the ****, and I usally leave a site immediatly

Flisker
16-04-2006, 10:31 AM
www.habbo-record.com/javascript_source.htm (http://www.habbo-record.com/javascript_source.htm) try that :)

EDIT: Damn just broke it PMSL

Luckyrare
17-04-2006, 03:13 PM
http://www.habbolayouts.com/layouts/free/freelayouts/updating/

That doesnt work in firefox. It doesnt close. *DONT USE*

--ss--
23-04-2006, 11:12 AM
Pop up when entering site :


<SCRIPT language="JavaScript">alert("TEXT") </SCRIPT>


When leaving site:


<BODY onUnload="alert('TEXT HERE');">


Blocking right clicking :


<script language="JavaScript"><!--function click(){if (event.button==2){alert('dont copy')}}document.onmousedown=click// --></script>

Sygon.
23-04-2006, 11:13 AM
:D Nice, but why the right clickthingis needed i dont know.

--ss--
23-04-2006, 11:14 AM
:D Nice, but why the right clickthingis needed i dont know.

i just posted it becuase he mgith want it aswell :P

Flisker
03-05-2006, 01:09 PM
Add to this thread i need a notice thing that says the radio is placed here thing like a popup not a alert one cos its a CMS and it would get annoying cos no iframes

Dentafrice1
03-05-2006, 09:35 PM
Snoop, you can use iframes in PHPNuke. ;) Add a new block with iframe in the $content tag ;) and in the iframe put the alert page

nets
04-05-2006, 05:05 PM
Sorry, I don't help idiots (just realised that you're that banned member called Ecko or something).

Want to hide these adverts? Register an account for free!