bread crumbs??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Guildner

    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!




  • Thomas Mlynarczyk

    #2
    Re: bread crumbs??

    Also sprach Robert Guildner:
    [color=blue]
    > 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.[/color]

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

    <a class="breadcru mb" href="index.htm l">Home</a> &gt;&gt;
    <a class="breadcru mb" href="level1.ht ml">One Level</a> &gt;&gt;
    <a class="breadcru mb" href="level2.ht ml">Next Level</a> &gt;&gt;
    <span class="youarehe re">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





    Comment

    • Robert Guildner

      #3
      Re: bread crumbs??

      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" <blue_elephant5 5@hotmail.com> wrote in message
      news:bhboiu$e95 $07$1@news.t-online.com...[color=blue]
      > Also sprach Robert Guildner:
      >[color=green]
      > > 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.[/color]
      >
      > Help for what? You don't need JavaScript to implement bread crumbs on your
      > pages. Just put something like
      >
      > <a class="breadcru mb" href="index.htm l">Home</a> &gt;&gt;
      > <a class="breadcru mb" href="level1.ht ml">One Level</a> &gt;&gt;
      > <a class="breadcru mb" href="level2.ht ml">Next Level</a> &gt;&gt;
      > <span class="youarehe re">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[/color]
      JavaScript[color=blue]
      > automatically, but what if the user has JavaScript disabled? If you want[/color]
      to[color=blue]
      > automatically generate the bread crumbs, you should do it server side,[/color]
      with[color=blue]
      > PHP for example.
      >
      > Greetings, Thomas
      >
      >
      >
      >
      >[/color]


      Comment

      • David Dorward

        #4
        Re: bread crumbs??

        Please direct your attention to: http://www.allmyfaqs.com/faq.pl?How_to_post

        Robert Guildner wrote:
        [color=blue]
        > Thank you for your reply. I went to the site you suggested; however, this
        > isn't what I was looking for.[/color]

        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/

        Comment

        • Robert Guildner

          #5
          Re: bread crumbs??

          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_hurrellREMOV E@yahoo.com> wrote in message
          news:bhdi7o$107 sdf$1@ID-114025.news.uni-berlin.de...[color=blue]
          > "Robert Guildner" <bob.guildner@s bcglobal.net> wrote in message
          > news:1ab_a.83$W b4.28@newssvr29 .news.prodigy.c om...[color=green]
          > > I am new to JavaScript and I am building a Web page in which I want to[/color][/color]
          use[color=blue]
          > a[color=green]
          > > navigational/informational feature that I have seen called bread crumbs.[/color]
          > It[color=green]
          > > 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[/color][/color]
          page.[color=blue][color=green]
          > > I would appreciate any help.
          > > Thanks![/color]
          >
          > I think this may help:
          >
          > http://www.greggriffiths.org/webdev/...t/breadcrumbs/
          >
          > regards,
          >
          > James Hurrell
          >
          >[/color]


          Comment

          Working...