473,385 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

bread crumbs??

I am new to JavaScript and I am building a Web page in which I want to use a
navigational/informational feature that I have seen called bread crumbs. It
looks like: home>>one level>>next level>the page you are on
Often I see it with different colors for the history and the current page.
I would appreciate any help.
Thanks!


Jul 20 '05 #1
4 7141
Also sprach Robert Guildner:
I am new to JavaScript and I am building a Web page in which I want
to use a navigational/informational feature that I have seen called
bread crumbs. It looks like: home>>one level>>next level>the page
you are on Often I see it with different colors for the history and
the current page. I would appreciate any help.


Help for what? You don't need JavaScript to implement bread crumbs on your
pages. Just put something like

<a class="breadcrumb" href="index.html">Home</a> &gt;&gt;
<a class="breadcrumb" href="level1.html">One Level</a> &gt;&gt;
<a class="breadcrumb" href="level2.html">Next Level</a> &gt;&gt;
<span class="youarehere">This Page</span>

on every page and define colors and whatever "looks" you like in a style
sheet:

..breadcrumb {color:blue;}
..youarehere {color:red;}

If you want to study a "live" example: www.mlynarczyk-webdesign.de

Of course it would be possible to have the above code written by JavaScript
automatically, but what if the user has JavaScript disabled? If you want to
automatically generate the bread crumbs, you should do it server side, with
PHP for example.

Greetings, Thomas

Jul 20 '05 #2
Thank you for your reply. I went to the site you suggested; however, this
isn't what I was looking for. I hope that someone is able to provide the JS
help for this.

"Thomas Mlynarczyk" <bl*************@hotmail.com> wrote in message
news:bh*************@news.t-online.com...
Also sprach Robert Guildner:
I am new to JavaScript and I am building a Web page in which I want
to use a navigational/informational feature that I have seen called
bread crumbs. It looks like: home>>one level>>next level>the page
you are on Often I see it with different colors for the history and
the current page. I would appreciate any help.
Help for what? You don't need JavaScript to implement bread crumbs on your
pages. Just put something like

<a class="breadcrumb" href="index.html">Home</a> &gt;&gt;
<a class="breadcrumb" href="level1.html">One Level</a> &gt;&gt;
<a class="breadcrumb" href="level2.html">Next Level</a> &gt;&gt;
<span class="youarehere">This Page</span>

on every page and define colors and whatever "looks" you like in a style
sheet:

.breadcrumb {color:blue;}
.youarehere {color:red;}

If you want to study a "live" example: www.mlynarczyk-webdesign.de

Of course it would be possible to have the above code written by

JavaScript automatically, but what if the user has JavaScript disabled? If you want to automatically generate the bread crumbs, you should do it server side, with PHP for example.

Greetings, Thomas


Jul 20 '05 #3
Please direct your attention to: http://www.allmyfaqs.com/faq.pl?How_to_post

Robert Guildner wrote:
Thank you for your reply. I went to the site you suggested; however, this
isn't what I was looking for.


Maybe not, but it is what you asked for. If that isn't what you want, you
should try rephrasing your question. (Although I do hope you aren't trying
to duplicate the menu that many browsers generate when you hold the mouse
button down over the back button - reinventing the built in browser wheel
with JavaScript is never a good idea).

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #4
Thank you very much, James!
This is exactly what I was looking for. The site is informative and clear.
Your supportive attitude is appreciated.

"James Hurrell" <j_*************@yahoo.com> wrote in message
news:bh*************@ID-114025.news.uni-berlin.de...
"Robert Guildner" <bo**********@sbcglobal.net> wrote in message
news:1a*************@newssvr29.news.prodigy.com...
I am new to JavaScript and I am building a Web page in which I want to use
a
navigational/informational feature that I have seen called bread crumbs.

It
looks like: home>>one level>>next level>the page you are on
Often I see it with different colors for the history and the current

page. I would appreciate any help.
Thanks!


I think this may help:

http://www.greggriffiths.org/webdev/...t/breadcrumbs/

regards,

James Hurrell

Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Irshad | last post by:
Hi Al If anyone has worked with Bread Crumb or have Knowledge on that.Please I Need some samples of creating Bread Crumb in .NET Please let me know ASAP Thank -Irshad
11
by: gb | last post by:
Within a form, the usual way of submitting it is to use e.g. <INPUT TYPE="submit" VALUE="Send "> This produces the standard button. Is there an easy way to portray this as though it were a...
1
by: Boris Ammerlaan | last post by:
About once a week, I post an FAQ pointer in this newsgroup under the same heading as this post. That pointer has two purposes: 1. To keep regulars from having to post the standard answers to...
2
by: -=Chris=- | last post by:
Hello all, I've designed a custom bread crumb control for several of my asp.net projects. The default property of this control is a custom HyperLinkCollection I've created, which contains, you...
2
by: Eric Lindsay | last post by:
I have been trying to do a CSS liquid layout imitating a frame, using position: fixed for header, footer, and side navigation, and a fixed background image. Page is valid HTML 4.01 Strict, and is...
2
by: Malarvizhi | last post by:
hi i am using asp.net with c# i want to know how to creat bread crumbs for dynamically created pages (i dont want to use site map because i think site map is only for static pages) do help...
1
by: Piotr Nowak | last post by:
Hi, Is there any bread crumbs component like this http://geekswithblogs.net/azamsharp/archive/2006/08/16/88197.aspx for asp.net 1.1 ? I need to show my users place where they are at any...
0
by: AAaron123 | last post by:
Is there a method of making a sitemapnode not visible and still have it's title appear in the bread crumbs? The reason for the invisible sitemapnode is so the page appears in the breadcrumbs (even...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.