Version compl�te: jsB@nk » Menu » Navigation » Automatique Breadcrumbs
URL: https://www.javascriptbank.com/automatic-breadcrumbs.html
Cet JavaScript va automatiquement créer un "breadcrumb" la navigation JavaScript lien à n'importe quelle page de votre site Web. Cela permet à vos visiteurs de voir exactement où ils se trouvent sur votre site Web, à un moment donné. Très facile à mettre en œuvre.
Version compl�te: jsB@nk » Menu » Navigation » Automatique Breadcrumbs
URL: https://www.javascriptbank.com/automatic-breadcrumbs.html
<style type="text/css">.topnav { font-size: 0.6em; color: #000; background-color: #FFCF29; border: 1px #00009C solid; padding: 0.5em;}</style><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<script language="javascript"><!--// Created by: Justin Whitford :: http://www.whitford.id.au/function breadcrumbs() { sURL = new String; bits = new Object; var x = 0; var stop = 0; var output = "<div class=topnav><a href=/>home</a> » "; sURL = location.href; sURL = sURL.slice(8,sURL.length); chunkStart = sURL.indexOf("/"); sURL = sURL.slice(chunkStart+1,sURL.length) while(!stop){ chunkStart = sURL.indexOf("/"); if (chunkStart != -1){ bits[x] = sURL.slice(0,chunkStart) sURL = sURL.slice(chunkStart+1,sURL.length); } else { stop = 1; } x++; } for(var i in bits){ output += "<a href=\""; for(y=1;y<x-i;y++){ output += "../"; } output += bits[i] + "/\">" + bits[i] + "</a> » "; } document.write(output + document.title); document.write("</div>"); }//--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<script type="text/javascript"><!-- breadcrumbs()//--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->