Eric Pugh wrote:
> I notice that all the example sites for Exhibit have a empty
> __history__.html file. Our site seems to work fine without it, but it
> does cause a 404 because Exhibit looks for it. I searched around the
> wiki, and didn't really see anything specific on it... I saw that it
> is part of the tagged 1.0 version of the Ajax lib, but doesn't seem to
> be in the trunk version.
>
> Mostly just a "humm, what is this" question. We are serving files up
> using eXist, an XML database, and it doesn't like an empty .html file
> that it can't parse. So if i put something in it like
> "<needed_for_exhibit/>" to make eXist happy, will that work?
>
__history__.html is used in a trick for tracking the Back and Forward
buttons in the browser, for the purpose of implementing undo and redo.
__history__.html is loaded into an off-screen iframe. When an action is
invoked by the user (such as selecting a facet choice or switching to a
different view), the iframe is loaded with __history__.html?n where n is
an integer. When the user clicks on the Back or Forward button, the
iframe is navigated back or forward, and that signals the exhibit to
revert or re-apply an action in its history stack.
You can just put
<html><body></body></html>
into the file.
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---