SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Aug 29, 2000, 19:38 #1
- Join Date
- Aug 2000
- Location
- New York , USA
- Posts
- 407
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi,
Where can I find info on how to make or create the code for the "text" type of navigation I see on SitePoint and many other Web sites.
For example, I am speaking of the one that looks like this,
Home / Living Room / Furniture / Tables
Is this a "Cut & Paste" script??
WPWebbing Along!!!
-
Aug 29, 2000, 19:56 #2
- Join Date
- Sep 1999
- Posts
- 1,390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It can't be done with HTML unless you write it in every page. You'd need a database (usually MySQL) and use PHP or a similar language.
I have seen a Javascript that will do the trick, but I wouldn't use that because it might not be reliable.
Maybe someone has made a CGI script, but I really really doubt it is possible.
Move on to a MySQL database!
-
Aug 29, 2000, 21:16 #3
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
There are breadcrumb scripts available in PERL that parse your directory structure and show it on the screen. Check out script indexes such as CGI Resource Index/
-
Aug 30, 2000, 07:37 #4
I don't think he is looking for something fantstic or script related. Something more along the lines of:
<FONT SIZE="1" FACE="arial">
<A HREF="home.html"> HOME </A>|<A HREF="livingroom.html"> LIVING ROOM </A>|<A HREF="furniture.html"> FURNITURE </A>|<A HREF="tables.html"> TABLES </A></FONT>
Note: You can put this inside a table cell to have a colored background. This may not be what he is looking for, but I think it is.
-
Aug 30, 2000, 12:41 #5
-
Aug 30, 2000, 15:07 #6
- Join Date
- Jul 1999
- Location
- Chicago
- Posts
- 2,629
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I know Matt Kaufman (a member on these forums) made a breadcrumb script which took the current URL and split it up so that if you were browsing (example) /articles/promotion/fourth-dimensional.htm then it would show:
articles > promotion > fourth-dimensional
If that's what you'd like then I'm sure he would give it to you. It's in PHP and about 20 or so lines.
Bookmarks