robmarch
07-30-2003, 12:12 AM
I am tring to implement a Breadcrumb Trail on my site and am having trouble find the code for it..
Can anyone help me out?
Many Thanks
Can anyone help me out?
Many Thanks
|
Click to See Complete Forum and Search --> : Breadcrumb Trail robmarch 07-30-2003, 12:12 AM I am tring to implement a Breadcrumb Trail on my site and am having trouble find the code for it.. Can anyone help me out? Many Thanks AdamGundry 07-30-2003, 02:25 AM Why do you need JS code for a breadcrumb trail? Correct me if I'm wrong, but isn't it just a series of hyperlinks on individual pages, which could easily be hard-coded, like this: Home / Section / Subsection / Page Using JS to dynamically generate this would potentially cause accessibility problems. If you must dynamically generate a trail, do it server-side. Adam SAFX 07-30-2003, 08:47 AM I was searching for the same code just last week, but not in JS, in Java. After failed attempts, I wrote the code myself. I can tell you that it's not so trivial, at least for my context it wasn't, because my web app supports multiple roles, and each role is restricted to certain pages, so hardcoding anything on the page to support the breadcrumb was out of the question. In the end, I wrote an XML file that served as a descriptor for each role and the type of breadcrumb that would be generated for each named screen. I'm sure with some ingenuity you can implement the breadcrumb yourself! Good luck! Raffi webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |