Shoutbox

javascript popups - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: javascript popups (/showthread.php?tid=47754)

javascript popups by absorbation on 07-18-2005 at 06:12 PM

I've serached google before you ask but i could not find anything :(

you know those annoying javascript popups that appear and no popup blocker can get to them etc, i want one of those :P

some look really good to :D

it's to make sure a link gets clicked on my website and they really stand out (it's for a survey)

if anyone could find a site or one of the scripts i would be very happy ;)

thanks :)


RE: javascript popups by M73A on 07-18-2005 at 07:37 PM

im not sure what one it may be... or if these are it but they are from a site where the pop up blockers don't work..

code:
<SCRIPT language="javascript"><!--
document.write("<a href=\"http://top.addfreestats.com/cgi-bin/main.cgi?usr=00220250P000\" target=\"_blank\">");
document.write("<img src=\"http://www2.addfreestats.com");
document.write("/cgi-bin/connect.cgi?");
document.write("usr=00220250P000");
document.write("&refer="+escape(document.referrer)+"");
document.write("&tips="+Math.random()+"");
document.write("\" alt=\"AddFreeStats\" border=0></A>");
//--></SCRIPT>

code:
<SCRIPT>
<!--
// MaxOnline JavaScript tag for: AE Web Technologies (prowrestlingscoops.com)
var randomNum=Math.round(Math.random() * 100000000000);
if ((!document.images && navigator.userAgent.indexOf('Mozilla/2.') >= 0) || navigator.userAgent.indexOf("WebTV")>= 0) {
document.write('<A HREF="http://c4.maxserving.com/adclick/site=7244/area=ros/aamfmt=normal/aamsz=banner/PageID=' + randomNum + '" target="_blank">');
document.write('<IMG SRC="http://c4.maxserving.com/iserver/site=7244/area=ros/aamfmt=normal/aamsz=banner/PageID=' + randomNum + '" border="0"></A>');
}else{
document.write('<SCR'+'IPT src=http://c4.maxserving.com/gen.js?site=7244&area=ros&group=topbar&PageID=' + randomNum + '><\/SCR'+'IPT>');
}
//-->
</SCRIPT>

code:
<script language="JavaScript">
rnum=Math.round(Math.random() * 100000);
document.write('<scr'+'ipt src="http://www.burstnet.com/cgi-bin/ads/ad11320a.cgi/v=2.0S/sz=300x250A/NZ/'+rnum+'/RETURN-CODE/JS/"></scr'+'ipt>');
</script>

I THINK THIS WAS ONE... (one of them annoying windows in a window.. like a virtual window.. its weird:S) not sure though

code:
<script LANGUAGE="JavaScript">
<!--
if (parseFloat(navigator.appVersion) == 0) { document.write('<IFRAME WIDTH=336 HEIGHT=280 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000" SRC="http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/hfmhighfallsmedia/336x280/ron/ent/ss/a@x16"></iframe>');
}
// -->
</SCRIPT>

maybe another?

code:
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://network.realmedia.com/RealMedia/ads/adstream_jx.ads/hfmfreeloot/combo/ron/ent/ss/a@x08">
</script>
<script LANGUAGE="JavaScript">
<!--
if (parseFloat(navigator.appVersion) == 0) { document.write('<IFRAME WIDTH=120 HEIGHT=600 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000" SRC="http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/hfmfreeloot/combo/ron/ent/ss/a@x08"></iframe>');
}
// -->
</SCRIPT>

sorry if this aint no help but it from a place with annoying popups:P
RE: javascript popups by -dt- on 07-19-2005 at 05:23 AM

how about this , YOU CREATE A FLOATING DIV AND MAKE IT SEEM LIKE A POPUP INSTED OF ANNOYING PEOPLE WITH REAL POPUPS.
* -dt- hates popups and people who think about using them.....


may73alliance! you do realise non of the above create a popup right?
please read or atleast link to real code insted of copying random bits of javascript which you clearly dont know what they do.

edit:

because i doubt you will be able to write a popup like what im talking about heres somecode to start you off :P

code:

//html data to display inside the thing
var htmldata = '';

//style of the box...
var style = 'position:fixed;z-index: 99;left:5px;top:9px;width:17.6cm;border-radius: 7px; background: purple ;padding: 3px;';

//try to get the element by id...
var popup = document.getElementById("popup");

//try to display it then set the innerhtml of the element to the htmldata.
try{
popup.style.display = "block";
popup.innerHTML = htmldata;
}
//if element dosnt exist the try created an error , create it here
catch(e){
body = window.document.getElementsByTagName("body")[0];
box = window.document.createElement("div");
box.setAttribute("id", 'popup');
box.setAttribute("style", style);
box.innerHTML = htmldata;
body.appendChild(script);
}



to close the thing all you do is hide it with something like...
code:
document.getElementById("popup").style.display = 'none';


removing it from the DOM isnt needed scince this code will reuse the div.
RE: javascript popups by toddiot on 07-19-2005 at 09:02 PM

an idea: The Javascript Source may have it http://www.javascript.internet.com/


RE: javascript popups by Yousef on 07-19-2005 at 10:59 PM

This is the website where you're looking for :p


RE: javascript popups by Zephyr on 07-19-2005 at 11:04 PM

quote:
Originally posted by Juzzi

This is the website where you're looking for

Thats a pretty nice site and code. Thanks for that Juzzi, might be using that one.
RE: javascript popups by lopardo on 07-19-2005 at 11:25 PM

quote:
Originally posted by Juzzi
This is the website where you're looking for :p
Those are even more annoying... (when they are used as advertisement popups). Thank God for the Nuke Anything Firefox extension for that ones that don't have a link to close them.
RE: javascript popups by Zephyr on 07-20-2005 at 01:38 AM

quote:
Originally posted by lopardo
quote:
Originally posted by Juzzi
This is the website where you're looking for :p
Those are even more annoying... (when they are used as advertisement popups). Thank God for the Nuke Anything Firefox extension for that ones that don't have a link to close them.

Yep, that really is a great extension and i know what you mean about those annoying ads, especially those ones which move around the page.

If i use it though, it won't be anything like that, just that they look quite good as a popup for something , rather than as a window.