jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Sep-07 12:10 UTC
help: change location url without load new page?
is possible change location url without load new page? any easy way, script, fuction? the complete location url, not only add a hash thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
e.g. you want change http://www.reaaaalbaaaadhackers.to to http://www.ebay.com i hope that is not possible ;) On Sep 7, 2:10 pm, "jraus...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <jraus...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> is possible change location url without load new page? any easy way, > script, fuction? > > the complete location url, not only add a hash > > thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Jean-Christophe Roux
2007-Sep-07 13:56 UTC
Re: help: change location url without load new page?
> is possible change location url without load new page? any easy way, > script, fuction?Me too, I''d like to know if it is feasible technically. One use case is to have all the benefits of an ajax website with the ability for the user to bookmark the site with some state. ----- Original Message ---- From: trigan <doris.meyer-nRXsrdlcZ0WELgA04lAiVw@public.gmane.org> To: Ruby on Rails: Spinoffs <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Sent: Friday, September 7, 2007 9:28:15 AM Subject: [Rails-spinoffs] Re: help: change location url without load new page? e.g. you want change http://www.reaaaalbaaaadhackers.to to http://www.ebay.com i hope that is not possible ;) On Sep 7, 2:10 pm, "jraus...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <jraus...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> is possible change location url without load new page? any easy way, > script, fuction? > > the complete location url, not only add a hash > > thanks____________________________________________________________________________________ Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Sep-07 14:07 UTC
Re: help: change location url without load new page?
and change the url like http://www.myweb.com/ to: http://www.myweb.com/directory/xxxxx ?? is possible? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Nicolás Sanguinetti
2007-Sep-07 14:39 UTC
Re: help: change location url without load new page?
Without reloading the page, no, it''s not possible due to security concerns, as the examples have shown above. If you want to store the location in an Ajax app, use hashes :) -Nicolas On 9/7/07, jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > and change the url like > > http://www.myweb.com/ > > to: > > http://www.myweb.com/directory/xxxxx > > ?? > > is possible? > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
What do you mean with "hashes"?? On 9/7/07, Nicolás Sanguinetti <godfoca-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Without reloading the page, no, it''s not possible due to security > concerns, as the examples have shown above. > > If you want to store the location in an Ajax app, use hashes :) > > -Nicolas > > On 9/7/07, jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > and change the url like > > > > http://www.myweb.com/ > > > > to: > > > > http://www.myweb.com/directory/xxxxx > > > > ?? > > > > is possible? > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
you know, a hash, akin to csv On 9/7/07, Antonio CS <antoniocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > What do you mean with "hashes"?? > > On 9/7/07, Nicolás Sanguinetti <godfoca-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > Without reloading the page, no, it''s not possible due to security > > concerns, as the examples have shown above. > > > > If you want to store the location in an Ajax app, use hashes :) > > > > -Nicolas > > > > On 9/7/07, jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > and change the url like > > > > > > http://www.myweb.com/ > > > > > > to: > > > > > > http://www.myweb.com/directory/xxxxx > > > > > > ?? > > > > > > is possible? > > > > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
*comma-separated values ??* On 9/7/07, Brian Williams <brianw1975-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > you know, a hash, akin to csv > > > > On 9/7/07, Antonio CS <antoniocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > What do you mean with "hashes"?? > > > > On 9/7/07, Nicolás Sanguinetti < godfoca-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > Without reloading the page, no, it''s not possible due to security > > > concerns, as the examples have shown above. > > > > > > If you want to store the location in an Ajax app, use hashes :) > > > > > > -Nicolas > > > > > > On 9/7/07, jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > > > and change the url like > > > > > > > > http://www.myweb.com/ > > > > > > > > to: > > > > > > > > http://www.myweb.com/directory/xxxxx > > > > > > > > ?? > > > > > > > > is possible? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
well, csv isn''t the specific answer but it all basically boils down to an array with a consistent unique delimiting field that the server can use to parse and then load and serve the appropriate information On 9/7/07, Antonio CS <antoniocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > *comma-separated values ??* > > On 9/7/07, Brian Williams <brianw1975-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > you know, a hash, akin to csv > > > > > > > > On 9/7/07, Antonio CS < antoniocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > What do you mean with "hashes"?? > > > > > > On 9/7/07, Nicolás Sanguinetti < godfoca-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > Without reloading the page, no, it''s not possible due to security > > > > concerns, as the examples have shown above. > > > > > > > > If you want to store the location in an Ajax app, use hashes :) > > > > > > > > -Nicolas > > > > > > > > On 9/7/07, jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > > > > > and change the url like > > > > > > > > > > http://www.myweb.com/ > > > > > > > > > > to: > > > > > > > > > > http://www.myweb.com/directory/xxxxx > > > > > > > > > > ?? > > > > > > > > > > is possible? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Nicolás Sanguinetti
2007-Sep-07 17:53 UTC
Re: help: change location url without load new page?
If you''re on http://example.net/mypage, window.location.hash "something" sets the url to http://example.net/mypage#something. You can then set window.location.hash to "my/subpath/like/this", and do Ajax requests to fetch that url onload, as a simple way of solving the bookmarking issues with Ajax. -Nicolas On 9/7/07, Antonio CS <antoniocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What do you mean with "hashes"?? > > > On 9/7/07, Nicolás Sanguinetti <godfoca-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Without reloading the page, no, it''s not possible due to security > > concerns, as the examples have shown above. > > > > If you want to store the location in an Ajax app, use hashes :) > > > > -Nicolas > > > > On 9/7/07, jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jrausell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > and change the url like > > > > > > http://www.myweb.com/ > > > > > > to: > > > > > > http://www.myweb.com/directory/xxxxx > > > > > > ?? > > > > > > is possible? > > > > > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---