here is an example of the script i need
http://www.newschannel9.com/sections...sports-events/
Anyone know how to make it??
here is an example of the script i need
http://www.newschannel9.com/sections...sports-events/
Anyone know how to make it??
Can you please make it clear what you want. Did you want the bread crumb displayed there?
Last edited by Nile; 07-18-2008 at 12:46 AM.
yes thats it
Did you want a javascript one, or a php?
Here's a php one:
PHP Code:<?php
$site = $_SERVER[PHP_SELF];
$path = explode('/',$site);
for($i=0;$i<count($path);$i++){
echo ($i==0)?"Home ".$path[$i] : chr(62).chr(32).ucfirst($path[$i]).chr(32);
}
?>
If you have PHP (other server side languages could also be used), some of these results will show you how:
http://www.google.com/search?client=...utf-8&oe=utf-8
You can also always just hard code the links, example from the source code of the page you gave to illustrate this:
The problem with any solution is though, there is no real way of knowing how someone got to that particular page. It is all based upon a guess of what is most likely, coupled with a knowledge of the site's directory and/or page structure.HTML Code:<div id='breadcrumb' class='floatLeft'><h4><a href='/'>Home</a></h4> <span>></span> <h3><a href='/sections/sports/'>Sports Headlines</a></h3> <span>></span> <h2><a href='/sections/sports/high-school-sports-events/'>High School Sports Events</a></h2></div>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
How helpful.What is boring to you may be fascinating to others. In any case, it is the fact of the matter. I only mentioned it because many people imagine that a breadcrumb script can somehow read the minds of people, know where they've been, that sort of thing. It cannot.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks