Hi Koen,

Thanks for checking that out for me.

So basically, what you're saying is if I click on a witty anchor in chrome,
it doesn't actually change pages; it's just an illusion. That's cool, 'cause
it seems to trigger internalPageChanged().

I'm finding that when I type addresses in the address bar, it's not
triggering internalPathChanged(), and if I override the 'refresh()' method
in my app/widgets, it just gives the base / normal path in 'internalPath()'.

I would like to be able to render the right thing when someone just
navigates to http://my.app/some/place out of nowhere.

Thanks again,
Matthew Sherborne

On Wed, Jun 22, 2011 at 12:21 AM, Koen Deforche <[email protected]> wrote:

> Hey Matthew,
>
> 2011/6/19 Matthew Sherborne <[email protected]>:
> > So in chromium I navigate to http://localhost:8000/x
> > and click the link .. all is good, it shows the new path in the list and
> > navigates there in the browser.
> > But if I type something else into the address bar like:
> > http://localhost:8000/x/a
> > It recreates the app.
>
> This is a confusion that arises from the HTML5 history API (which I've
> seen described as a "meticulously executed illusion", and I kind of
> agree).
>
> With these new browsers (Chrome, FF4, ...) you get the impression that
> you are following an anchor to a new page, but instead the event
> (clicking the anchor) is caught in JavaScript and the URL is
> manipulated (using JavaScript HTML5 History API) while responding to
> the URL change as an internal path change event. All this to keep
> within the same page and do things such as animating the content
> change or anything else really.
>
> When typing a new URL in the browser, this will effectively force the
> browser to get an entirely new page which has no relation with the
> current page.
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to