View Single Post
Old 03-08-2007, 01:10 PM  
tical
Confirmed User
 
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
You know what, i just dug it up... I don't want to be greedy...

hey GFY webmasters

Feel free to use & modify this javascript code below to achieve the same effect we do with the flash chat emulator... all you need to do is use an animated gif of a cam model al'a 1999-2000


... i also stole this code from newbreed/qx YEARS before they even thought of it and even decided to write it in javascript and use animated gifs instead of making it all in flash (just to throw them off)

btw i also invented high speed internet, however i only used my 56k modem for access

damn qx i used to like you too and i cant deny your talent, bill must have you all really going over there... that is pretty unfortunate

i was already done w/ the whole newbreed drama too

Code:
<!-- your javascript -->
<script language="JavaScript">
<!--
  var wordArray = new makeArray('welcome1!',
  								'welcome2', 
								'welcome3!', 
								'welcome4!', 
								'welcome5', 
								'welcome6');
  function randomwelcomeline() {
  }
	function makeArray(){
		this.length = makeArray.arguments.length 
		for (var i = 0; i < this.length; i++)
		this[i + 1] = makeArray.arguments[i]
	}
    function randNum (num) {
    var now = new Date();                                
    var rand = Math.round(num * Math.cos(now.getTime()));
    if (rand < 0) rand = - rand; if (rand == 0) rand++;  
    return rand;                                         
    }

  function initchat() {
	document.getElementById("tarea").value = "Starting the chat...";
    setTimeout("initdot()", 900);
    setTimeout("initdot()", 1200);
    setTimeout("initdot()", 1600);
  }
  function initdot() {
  	document.getElementById("tarea").value = document.getElementById("tarea").value + ".";
  }
  function event1() {
    document.getElementById("tarea").value = document.getElementById("tarea").value + " session established!\n\n";
  }
  function event2() {
    document.getElementById("tarea").value = document.getElementById("tarea").value + "cam-girl: " + wordArray[randNum(wordArray.length)] + "\n";
  }
  function event3() {
	document.getElementById("tarea").value = "Please sign up to the website to chat!"
  }
  function startTimeout() {
    setTimeout("event1()", 4000);
    setTimeout("event2()", 7000);
    setTimeout("event3()", 18000);
    setTimeout("event4()", 24000);
}
//-->
</script>

<!-- your body tag -->
<body onload="javascript: initchat(); startTimeout();"></body>

<!-- your text area -->
<textarea style="width: 500px; height:240px" name=tarea readonly>
__________________
112.020.756
tical is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote