und habe folgendes problem:
das script benötigt das ich den pfad meiner seite angebe -
habe ein java script das dieses abruft aber wie bekomme ich diesen wer it einen java befehl?
hier ist der code - ich versuchte die variable docName einzufügen im letzten java befehl aber das funkt nicht bitte hilfe
denk
johannes
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>JavaScript</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT type=text/javascript>
function findDocName() {var docPath = window.location.pathname;var strArray = docPath.split("\");var L = strArray.length-1;docName = strArray[L];alert(docName);}
</SCRIPT>
</head>
<body onload ="findDocName()">
<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<script type="text/javascript" language="javascript" src="jsrate.php?file=(docName)&file_real=(docName)"></script>
</body>
</html>