Zend - The PHP Company




Games

Add Code


Invisible Message Creator  

Type: code fragment
Added by: marsup11
Entered: 24/06/2001
Last modified: 06/12/2000
Rating: *** (3 votes)
Views: 8233
Type in a message, it disappears. You make it re-appear by dragging a graphic over the message. Great fun for kids.


<?php


<!-- This script is simple to installJust skip past the advertising code below for details -->




<
center><!-- BEGIN RICH-MEDIA BURSTCODE --> 
<
script language="JavaScript"
<!-- 
/* � 1997-1999 BURST! Media, LLC. All Rights Reserved.*/ 
var TheAdcode 'ad6406a'
var 
bN navigator.appName
var 
bV parseInt(navigator.appVersion); 
var 
base='http://www.burstnet.com/'
var 
Tv=''
var 
agt=navigator.userAgent.toLowerCase(); 
if (
bV>=4
  {
ts=window.location.pathname+window.location.search
   
i=0Tv=0; while (its.length
      { 
Tv=Tv+ts.charCodeAt(i); i=i+1; } Tv="/"+Tv;} 
  else   {
Tv=escape(window.location.pathname); 
   if( 
Tv.charAt(0)!='/' Tv="/"+Tv
          else if (
Tv.charAt(1)=="/")Tv=""
  if( 
Tv.charAt(Tv.length-1) == "/"
    
Tv Tv "_";} 
if (
bN=='Netscape'){ 
     if ((
bV>=4)&&(agt.indexOf("mac")==-1))
{  
document.write('<s'+'cript src="'
      
base+'cgi-bin/ads/'+TheAdcode+'.cgi/RETURN-CODE/JS' 
      
+Tv+'">'); 
     
document.write('</'+'script>');    } 
     else if (
bV>=3) {document.write('<'+'a href="'+base+'ads/'
        
TheAdcode+'-map.cgi'+Tv+'"target=_top>'); 
        
document.write('<img src="' base 'cgi-bin/ads/' 
        
TheAdcode '.cgi' Tv '" ismap width="468" height="60"' 
        
' border="0" alt="Click Here"></a>');} 
 } 
if (
bN=='Microsoft Internet Explorer'
 
document.write('<ifr'+'ame id="BURST" src="'+base+'cgi-bin/ads/'
  
TheAdcode '.cgi' Tv '/RETURN-CODE" width="468" height="60"' 
  
'marginwidth="0" marginheight="0" hspace="0" vspace="0" ' 
  
'frameborder="0" scrolling="no"></ifr'+'ame>'); 
// --> 
</script> 
<noscript><a href="http://www.burstnet.com/ads/ad6406a-map.cgi" target="_top"> 
<img src="http://www.burstnet.com/cgi-bin/ads/ad6406a.cgi" 
 width="468" height="60" border="0" alt="Click Here"></a> 
</noscript> 
<!-- END BURST CODE --></center>






<!-- You can also skip the next paragraph in copying this code. -->


<BR>
<center>
<font size=4 face="arial, helvetica" color=#000000>View the source code for this page and follow the directions. Afterwards, type in a message below and press the button. Then follow the directions on the new page you will see.</font></center>






<!-- Here's the general code for this page. A  link to The PHP Loft should be included. Just copy the code below. Then proceed to phpinvi.php and view the source code there. -->







<BR>
<center>
<font size=2><I>(Please note: this page won't work on Netscape.)</I></font></center>


<BR>
<center>
<font size=6 face="arial, helvetica" color=#FF0000>Create an Invisible Message!</font></center>
<center>
<font size=5 face="arial, helvetica" color=#4b0082>
Type in your secret message below...</font></center>


<form action="phpinvi.php" method="post">
<font size=3 face="arial, helvetica" color=#ff0000>
<B>Your Message:</B></font> <input type="text" name="message"><BR><BR>
<input type="submit" value="Make Invisible!">
</form> 




<font size=3 face="arial, helvetica"><B><a href="http://thephploft.com">Provided by The PHP Loft</a></B></font>
</BODY></HTML>

?>


Usage Example


See the example


Rate This Script





Search



This Category All Categories