You are here: irt.org | FAQ | JavaScript | Link | Q1458 [ previous next ]
Try:
<script language="JavaScript"><!--
thePath = '';
loc = '' +location.href;
paths = loc.substring(7).split('/');
for (i=0, n=paths.length;i<n;i++)
thePath += '> ' + paths[i] + ' ';
document.write('You are here: ' + thePath.substring(1));
//--></script>