close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


how i make Breadcrumb

Thread began 10/27/2009 10:55 am by alhero_94375722 | Last modified 10/28/2009 1:06 pm by anonymous | 1102 views | 1 replies |


how i make Breadcrumb

hi plz can help me how i make breadcrump in my site
biz i but this script
<script language="JavaScript">
</script> i put it in template

and in crump.js
// JavaScript Document
function breadcrumbs(){
sURL = new String;
bits = new Object;
var x = 4;
var stop = 4;
var output = "<a href=\"/\">Home</a> > ";
sURL = location.href;
sURL = sURL.slice(20,sURL.length);
chunkStart = sURL.indexOf("/");
sURL = sURL.slice(chunkStart+1,sURL.length)
chunkStart = sURL.indexOf("/");
if (chunkStart != -1){
bits[x] = sURL.slice(0,chunkStart)
sURL = sURL.slice(chunkStart+1,sURL.length);
stop = 1;
for(var i in bits){
output += "<a href=\"";
output += "../";
output += bits[i] + "/\">" + bits[i] + "</a> > ";
document.write(output + document.title);
but the problem when i move between the page it dont show the all path it show only home page then current page

Sign in to reply to this post


Why not use PHP instead for the Breadcrumb?

Remember, Java is not a given on every machine... so it may not work on some users' machines.

You could write a PHP script (or take the one in this link): 4455/

Then just include your PHP breadcrumb using PHP's include command, wherever you want on the site.



Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...