What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » javascript popups

javascript popups
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. Wink  javascript popups
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 :)
07-18-2005 06:12 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
RE: javascript popups
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

This post was edited on 07-18-2005 at 07:38 PM by M73A.

[Image: lost7ru.gif]
07-18-2005 07:37 PM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: javascript popups
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.

This post was edited on 07-19-2005 at 07:51 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-19-2005 05:23 AM
Profile PM Web Find Quote Report
toddiot
Junior Member
**

Avatar
know the name.

Posts: 82
Reputation: 1
32 / Male / –
Joined: Jun 2005
RE: javascript popups
an idea: The Javascript Source may have it http://www.javascript.internet.com/
[Image: toddiot.png]
Send me a message
07-19-2005 09:02 PM
Profile E-Mail PM Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
RE: javascript popups
This is the website where you're looking for :p
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
07-19-2005 10:59 PM
Profile E-Mail PM Web Find Quote Report
Zephyr
Senior Member
****

Avatar
monster.rat

Posts: 950
Reputation: 26
35 / Male / Flag
Joined: Jan 2005
RE: javascript popups
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.
[Image: rhcpsig38tj.png]
07-19-2005 11:04 PM
Profile E-Mail PM Find Quote Report
lopardo
Veteran Member
*****


Posts: 1395
Reputation: 33
38 / Male / Flag
Joined: Nov 2002
Status: Away
RE: javascript popups
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.
[Image: userbar452797dd.gif]
07-19-2005 11:25 PM
Profile PM Find Quote Report
Zephyr
Senior Member
****

Avatar
monster.rat

Posts: 950
Reputation: 26
35 / Male / Flag
Joined: Jan 2005
RE: javascript popups
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.
[Image: rhcpsig38tj.png]
07-20-2005 01:38 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On