Jump to content

Detecting and downloading java plugin


DarkPrince2005

Recommended Posts

I found this JavaScript script but,can anyone tell me why it's not working?

 

echo "
<html>
<head>
<title>Disciplinary: Report</title>
<link rel='stylesheet' href='stylesheet.css' type='text/css'>
<style>

	a:link{font-family:'Verdana';

	color:'#000000';
	font-weight:700;
	text-decoration:none;
	}

	a:visited{font-family:'Verdana';

	color:'#000000';
	font-weight:700;
	text-decoration:None;
	}

	a:hover{font-family:'Verdana';

	text-decoration:none;
	color:'#B37A04';
	font-weight:700;
	}

	a:active{font-family:'Verdana';

	color:'#000000';
	font-weight:700;
	}
</style>
</head><body bgcolor='#FDCC67' topmargin='0' bottommargin='0' leftmargin='0' rightmargin='0'>";
echo "<script language=\"Javascript\" type=\"text/javascript\">";
echo "if(!navigator.javaEnabled()){";
echo "alert('Enable your java to expirience this java enhanced page or\n try install it...');";
echo "location.replace(\'http://java.sun.com\');";
echo "}
else{
}
</script>";
echo "
<table width='100%' height='100%' cellpadding='0' border='0' cellspacing='0'><tr><td valign='top' width='140' background='graphics/nav.gif'><br><center><font size=3>MENU</font><br><img src='graphics/NavSeparator.gif' width=130></center><br>
	<font size='2'><a href='home.html'>  <img src='graphics/NavBullet.gif' border=0>  Home</a></font><br><br>
	<font size='2'><a href='view.php'>  <img src='graphics/NavBullet.gif' border=0>  View Records</a></font><br><br>
	<font size='2'><a href='add.html'>  <img src='graphics/NavBullet.gif' border=0>  Add Record</a></font><br><br>
	<font size='2'><a href='edit.html'>  <img src='graphics/NavBullet.gif' border=0>  Edit Record</a></font><br><br>
	<font size='2'><a href='delete.html'>  <img src='graphics/NavBullet.gif' border=0>  Delete Record</a></font><br><br>
	<font size='2'><a href='datereport.html'>  <img src='graphics/NavBullet.gif' border=0>  View Report</a></font><br><br>
	<font size='2'><a href='q.html'>  <img src='graphics/NavBullet.gif' border=0>  Query Report</a></font><br><br>
	<font size='2'><a href='search1.html'>  <img src='graphics/NavBullet.gif' border=0>  Search</a></font><br><br><br><center><img src='graphics/NavSeparator.gif' width=130></center><br></td>
<td>
<center>
<table width=600>
<tr><td colspan='2' align='center' bgcolor='#FFAC00'><a name='top'><a href='report1.php#occupation'>Occupation</a> | <a href='report1.php#region'>Region</a> | <a href='report1.php#levels'>Levels</a> | <a href='report1.php#race'>Race & Gender</a></td>
</tr>
<tr>
<td colspan='2'><h1>Disciplinary Hearings</h1></td>
</tr>...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.