PDA

View Full Version : Chain History Links


Gwayn
01-28-2006, 07:10 PM
Ok, i tried to make the subject interesting and also i dont really know how to call this feature i want to put in my site: if the user is reading an article of a certain section i want that in a bar appear something like: Section -> Article -> Page 01
Obiously with the proper names and linking to the proper pages [that he have just visited to arrive at this point].
For an example look here: http://www.seeklyrics.com/lyrics/Beatles/Here-Comes-The-Sun.html

The Bar shows this:
Song Lyrics »Beatles »Abbey Road Album »Here Comes The Sun Lyrics

Well how to do such a thing?
Thx for the patience^^

tmmoose
01-29-2006, 12:04 PM
You make a folder in your web space and put the page in it....
then the link shows it...http://www.yourwebspace.com/your folder/your page.html

PsychoticDude85
01-29-2006, 12:44 PM
Yes, that way you could use simple <a href="../" type links to drop one directory.

But the way they use it (I suspect) is to have a static link for lyrics, then base the others of database entries. So they would use links like this: <a href="/lyrics/$artist and <a href="/lyrics/$artist/$album if you have a database structure existing this is most useful, but if not then follow tmmoose's plan and make your site like this:

/lyrics/artist/album/track.html

and make the links <a href="../" to go to album/ ".../" to go to artist/ etc.

Gwayn
01-31-2006, 12:09 AM
Thx for the help, i found the name of this feature: Breadcrumbs.
With a research on google i found a bunch of tutorial to build it and even a plug-in for dreamweaver that generate the proper code in javascript.
Bye^^