> That's actually the default behavior of add(). If you call
> add(newLocation,historyData) with a newLocation value that's
> previoiusly been set, it will be updated with the new value of
> historyData. Each time the user hits that hash state when using "back"
> or "forward," the data recovered from historyData will be the NEW data
> you've stowed there rather than the original data.
>
Sorry but that's not what I was asking. What I want to be able to do
is replace the current state with a different state- that is,
overwrite the current state, rather than appending to it.
dhtmlHistory.add pushes a new state (unless the state is the same, as
you mentioned above). I want a way to overwrite (or maybe pop then
push, as an equivalent operation).
Any ideas?
- D