It depends on what you mean by the name, but this script will give you the
full path and URL
<html>
<!-- www.lee-mcgeorge.co.uk-->
<head>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
var path = "";
var href = document.location.href;
var s = href.split("/");
for (var i=2;i<(s.length-1);i++) {
path+="<A
HREF=\""+href.substring(0,href.indexOf("/"+s[i])+s[i].length+1)+"/\">"+s[i]+
"</A> / ";
}
i=s.length-1;
path+="<A
HREF=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+"\">"+s[i]+"</A>";
var url = window.location.protocol + "//" + path;
document.writeln(url);
</script>
</body>
</html>
"Alain Dhaene" <al**********@worldonline.be> wrote in message
news:c5**********@news.worldonline.be...
HI,
Is it possible to get the name of the current page in a browser?
Alain