يمكنك تحطه
باي برمجه
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>انت الان موجود</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
padding: 20px;
}
.breadcrumb {
background: #fff;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.breadcrumb a {
text-decoration: none;
color: #007BFF;
margin: 0 5px;
position: relative;
}
.breadcrumb a:hover {
text-decoration: underline;
}
.breadcrumb span {
margin: 0 5px;
}
</style>
</head>
<body>
<div class="breadcrumb" id="breadcrumb"></div>
<script>
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><span> / </span>";
}
i = s.length - 1;
path += "<a href=\"" + href.substring(0, href.indexOf(s[i]) + s[i].length) + "\">" + s[i] + "</a>";
document.getElementById('breadcrumb').innerHTML = path;
</script>
<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>
ليست هناك تعليقات: