PDA

View Full Version : have a question could use some help


sandman
05-11-2000, 12:14 AM
been looking around a lot of cj sites and i see an exit console that loads really small in the upper lef hand corner then it disapears and finises loading in the background if anyone could help me out and post the code to do that i would appreciate it http://adultwebmasterinfo.com/ubb/smile.gif


thanks

sandman
http://www.pimpcity.net

dealer
05-11-2000, 03:37 AM
I would be willing to bet it is a console that loads then resizes itself to invisibility (this would be useful to load other timed consoles, or to cheat you) if it does not resize itself to 1x1, then it might be closing itself... this is not hard to code... most every site resizes itself, look at its javascript code, and modify it where it makes the most sense for your purposes... I hope this has been of help... If you used timed consoles, do not open trades in them, that is considered cheating, but nothing wrong with loading your own stuff in timed consoles =)


Sign up NOW!! http://vegas-teens.com/cgi-bin/ucj/webmaster.cgi

richard
05-11-2000, 08:51 AM
you cant resize to invisible - 1x1 is the minimum.

Though, you can rePOSITION the window so that it does not lie on the screen.

If you want any scripts coding, drop me a line with the specifics webmaster@freerotic.com.

Richard.

sandman
05-11-2000, 04:27 PM
k thanks for the help i was going to load my own stuff i have read the board and know what cheating is dont plan on doing it http://adultwebmasterinfo.com/ubb/smile.gif

thanks

Jake Jeck
05-11-2000, 04:40 PM
This might do what you want....this file is called popupmain.html

<HTML>
<HEAD>
<TITLE>Testing</TITLE>
<Script Language="JavaScript">
function openWindow() {
msgWindow = window.open('','newWin','width=100,height=100,scre enX=2400,screenY=2400,top=2400,left=2400,resizable =yes');
msgWindow.location.href = 'popup.html';
self.focus();

}
//-->
</script>

</HEAD>
<BODY onUnload="openWindow()">

Please Leave <a href="http://www.yahoo.com">Go TO YAHOO</A>

</BODY>
</HTML>

It opens a file up offscreen for IE and in the lower corner for NS.


Here's the file it opens.... popup.html

<HTML>
<HEAD>
<TITLE>Pop Up Tester</TITLE>
</HEAD>
<Script Language="JavaScript">
setTimeout('moveMe()',10000);

function moveMe() {
if (window.screen)
{
self.resizeTo(800,800);
self.moveTo(300,300);
self.focus();

}
}
</script>
</HEAD>
<BODY onUnload="window.open('popup.html',window.name + 'x','width=200,height=250,screenX=2400,screenY=240 0,top=2400,left=2400,resizable=yes')">
<CENTER>
LINK 1<BR>
LINK 2<BR>
</CENTER>
</BODY>
</HTML>


Take out the onUnload if you test it yourself as it's VERY hard to get that window to shut from your local drive http://adultwebmasterinfo.com/ubb/smile.gif I wrote this myself but don't use it anywhere yet.

Jake Jeck
05-11-2000, 04:43 PM
So the basic way it works is....visitor leaves your site. The popup window gets created which is offscreen (or blurs itself in NS) and then after 10 seconds it moves in front of the surfer and resizes itself.

Let me know if anyone knows the code to make it load offscreen for NS. screenX=, screenY= are the default attributes but they won't go any higher than the surfers screen resolution.

richard
05-11-2000, 06:01 PM
I forgot to mention mateys, that timed consoles are considered cheating.

What you are doing is popping up YOUR pages infront of other partners pages. Please dont adopt the above code, (copying it directly WILL result in errors), it is considered cheating, will make your traffic less productive, will piss off your partners, will make everyone hate you, and basically, by using code like that you will end up with no friends. http://adultwebmasterinfo.com/ubb/frown.gif

I myself, am adapting my views on CJ totally, i used to be all for screwing the surfer and such, infact i know that i was the first to use the dreaded layers code (chuffed to have been innovative, but really regret it now).

The surfers are the guys that make your $ for you. If i were to give any advice to newbies, it would be to sit down and think REALLY carefully as to what they are trying to achieve. Clicks are not everything.

I think it was Brian who said this, but its not the size of your sextraker counter that matters, but the size of your pay check. That is such good advice.

A clean site doing 100k is far more impressive and valuable than a dirty site doing 200k.

No dis-respect Jake, but that code is an uncloseable window that is postitioned off the users desktop. Anyone who uses it is cheating their partners. Its nice to make code that people use, but even nicer when you know that it is not bad practice.

Richard.

Jake Jeck
05-11-2000, 07:25 PM
Well I don't do CJ sites at all, I just come here to learn/read http://adultwebmasterinfo.com/ubb/smile.gif My code can do what he wants with a little bit of modification.