RE: [wdvltalk] breadcrumb problem

2005-04-13 Thread Linda Wells
Can you tell me how to read the history object in JS as I think that is exactly 
what I want.

Linda


 -Original Message-
From:   Ross Clutterbuck [mailto:[EMAIL PROTECTED] 
Sent:   09 April 2005 17:13
To: wdvltalk@lists.wdvl.com
Subject:RE: [wdvltalk] breadcrumb problem

Linda:

I did stumble upon a Javascript that read query
strings in URLs with no back-end processing, but I
don't have access to my work machine at the moment.

If I can dig it out then in theory you could pass
query strings (like newpage.html?prevpage=index) and
then read it off so you can trace where the user was
previously, but it could get a bit messy and
complicated.

Alternatively, could you try reading the History
object in JS and work it out from there?

MOU




This Internet E-mail is intended solely for the person to whom it is addressed. 
It may contain confidential or privileged information. If you have received it 
in error please notify us immediately by telephone and destroy the 
transmission. You must not copy, distribute or take any action in reliance on 
it.

Aerosystems International   Phone: +44 (0)1935 443000
Fax  : +44 (0)1935 443111
Web  : www.aeroint.com


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


RE: [wdvltalk] breadcrumb problem

2005-04-09 Thread Ross Clutterbuck
Linda:

I did stumble upon a Javascript that read query
strings in URLs with no back-end processing, but I
don't have access to my work machine at the moment.

If I can dig it out then in theory you could pass
query strings (like newpage.html?prevpage=index) and
then read it off so you can trace where the user was
previously, but it could get a bit messy and
complicated.

Alternatively, could you try reading the History
object in JS and work it out from there?

MOU

Send instant messages to your online friends http://uk.messenger.yahoo.com 

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] breadcrumb problem

2005-04-08 Thread [EMAIL PROTECTED]
Linda, consider the implications of that approach. You would have to 
maintain a persistent stack containing the current trail to the page, and if 
you simply use the referring page and add it to the breadcrumbs you will 
encounter recursion issues. What if the user flips back to the previous page 
for a moment, then back? Without stack management you will now have two sets 
of those pages in your breadcrumb list.

I'm not sure what you mean by the importance of the context. Do you mean the 
page contents change depending upon the path taken to reach the page? If so, 
you're using breadcrumbs for a purpose for which they are not intended. You 
need to look at your archictecture and perhaps consider a different 
approach. Do you have a preliminary of the site live yet that we could take 
a look at and see what you're trying to do, or could you perhaps synopsize a 
typical user session so we could understand how the navigation path (which 
is what I presume you mean when you say "context") is "very important?"

Cheers,
Scott
- Original Message - 
From: "Linda Wells" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 08, 2005 6:20 AM
Subject: RE: [wdvltalk] breadcrumb problem


I was happily hard coding the breadcrumbs until I found that there were 
going to be several ways to reach many of the pages and in this case the 
context in which the user is reading the information is very important. Is 
there a way of determining which page the user came from? If I knew the 
previous page could I display the appropriate breadcrumb trail using some 
kind of if statement?

Linda


This Internet E-mail is intended solely for the person to whom it is 
addressed. It may contain confidential or privileged information. If you 
have received it in error please notify us immediately by telephone and 
destroy the transmission. You must not copy, distribute or take any action 
in reliance on it.

Aerosystems International   Phone: +44 (0)1935 443000
   Fax  : +44 (0)1935 443111
   Web  : www.aeroint.com

  The WDVL Discussion List from WDVL.COM  
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: 
archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with. 

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.


RE: [wdvltalk] breadcrumb problem

2005-04-08 Thread Tristan . Pretty
I did for a site a last 3 pages visited breadcrumb wize...
worked quite well... if you're using PHP that is!

Put this in an include, and append it to each page...
Then use the breacrumb variables in your breadcrumb area?

$_SESSION[breadcrumb3] = "$_SESSION[breadcrumb2]";
$_SESSION[breadcrumb2] = "$_SESSION[breadcrumb1]";
$_SESSION[breadcrumb1] = $HTTP_REFERER;

Just a thought?

Tris...





"Linda Wells" <[EMAIL PROTECTED]> 
08/04/2005 11:20
Please respond to
wdvltalk@lists.wdvl.com


To
wdvltalk@lists.wdvl.com
cc

Subject
RE: [wdvltalk] breadcrumb problem






I was happily hard coding the breadcrumbs until I found that there were 
going to be several ways to reach many of the pages and in this case the 
context in which the user is reading the information is very important. Is 
there a way of determining which page the user came from? If I knew the 
previous page could I display the appropriate breadcrumb trail using some 
kind of if statement?

Linda




This Internet E-mail is intended solely for the person to whom it is 
addressed. It may contain confidential or privileged information. If you 
have received it in error please notify us immediately by telephone and 
destroy the transmission. You must not copy, distribute or take any action 
in reliance on it.

Aerosystems International   Phone: +44 (0)1935 443000
Fax  : +44 (0)1935 443111
Web  : www.aeroint.com


 ? The WDVL Discussion List from WDVL.COM ? 
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: 
archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


RE: [wdvltalk] breadcrumb problem

2005-04-08 Thread Linda Wells
I was happily hard coding the breadcrumbs until I found that there were going 
to be several ways to reach many of the pages and in this case the context in 
which the user is reading the information is very important. Is there a way of 
determining which page the user came from? If I knew the previous page could I 
display the appropriate breadcrumb trail using some kind of if statement?

Linda




This Internet E-mail is intended solely for the person to whom it is addressed. 
It may contain confidential or privileged information. If you have received it 
in error please notify us immediately by telephone and destroy the 
transmission. You must not copy, distribute or take any action in reliance on 
it.

Aerosystems International   Phone: +44 (0)1935 443000
Fax  : +44 (0)1935 443111
Web  : www.aeroint.com


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to $subst('List.Name') as: 
$subst('Recip.EmailAddr')
To unsubscribe send a blank email to $subst('Email.UnSub')
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Re: [wdvltalk] breadcrumb problem

2005-04-05 Thread [EMAIL PROTECTED]
I think the hard-coded approach is most appropriate. You don't need dynamic 
breadcrumbs; in fact, you don't want them. They are principally a means to 
offer the user a pointer to where they are in the site and should basically 
consist of the shortest path from the home page to the current page. It is 
superfluous to construct them dynamically, since the Back button will follow 
the same path as dynamically created breadcrumbs. Furthermore, what about 
recursion? Suppose the user, for one reason or another, visits the same page 
more than once, following a different path, or flipping back and forth 
between pages. How long do you plan to make your breadcrumb string? Would 
the current page appear twice in the list? If you're building it 
dynamically, it's going to require some reasonably sophisticated logic to do 
the necessary stack maintenance. Just hard-code them and get on with it. In 
terms of page weight, you're only talking a matter of bytes here, not 
kilobytes. If the breadcrumb string, in the worst case, extends across the 
entire page (in which case you have other design issues to deal with, IMHO) 
you're still only talking a hundred or fewer bytes. As the saying goes, 
don't sweat the small stuff.

Cheers,
Scott
- Original Message - 
From: "Ross Clutterbuck" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, April 05, 2005 4:55 AM
Subject: Re: [wdvltalk] breadcrumb problem


Linda:
With CD distribution you do have the luxury of allowing a certain "bloat" 
to your code as you don't have to worry about download times etc. so in 
that regard you might as well just hard code your breadcrumbs. This of 
course does make updating a nightmare especially if your CD-based site is 
going to be large.

Alternatively you could try a client-side Javascript approach. I'm just 
brainstorming here so don't take this as the best way of doing it, but you 
could have an external data source storing your tree data (a series of 
Javascript arrays held in a common external JS file) and generate HTML 
with document.write() for the relevant path for a specific page based on 
parameters you give it.

That way you can have breadcrumb changes reflect across the site by 
editing a single file/set of files as you would do with moretraditional 
back-end approaches.

Food for thought?
MOU
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
  The WDVL Discussion List from WDVL.COM  
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.


Re: [wdvltalk] breadcrumb problem

2005-04-05 Thread Ross Clutterbuck
Linda:
With CD distribution you do have the luxury of allowing a certain "bloat" to 
your code as you don't have to worry about download times etc. so in that 
regard you might as well just hard code your breadcrumbs. This of course 
does make updating a nightmare especially if your CD-based site is going to 
be large.

Alternatively you could try a client-side Javascript approach. I'm just 
brainstorming here so don't take this as the best way of doing it, but you 
could have an external data source storing your tree data (a series of 
Javascript arrays held in a common external JS file) and generate HTML with 
document.write() for the relevant path for a specific page based on 
parameters you give it.

That way you can have breadcrumb changes reflect across the site by editing 
a single file/set of files as you would do with moretraditional back-end 
approaches.

Food for thought?
MOU
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.