[jQuery] Re: Change subdomain on same page...

2009-02-06 Thread James
You can use document.location.hash to get the value of the "bookmark", and based on that value auto-load the content of your link automatically. On Feb 6, 10:59 am, atomk wrote: > I know I can change the name in the location bar with the method you > describe, but because all the transitions ini

[jQuery] Re: Change subdomain on same page...

2009-02-06 Thread atomk
I know I can change the name in the location bar with the method you describe, but because all the transitions initiated by clicking a link are done with Javascript, I don't know how to make each location bar name bookmarkable so it will "remember" the JS state of things - no matter what you bookm

[jQuery] Re: Change subdomain on same page...

2009-02-04 Thread Ricardo Tomasi
The usual way that's done is via the URL hash: http://adamkobrin.com/#about location.hash == '#about' - ricardo On Feb 4, 3:50 pm, atomk wrote: > I have different subdomains pointing to the same file on my server - > simple enough. What I'd like to do is essentially reverse that: Can > the sa

[jQuery] Re: Change subdomain on same page...

2009-02-04 Thread Eric Garside
Makes sense, not possible. The only way a browser allows the location bar to change is if you're actually at the web address. Otherwise you could easily phish up account info for major sites by spoofing the address bar. On Feb 4, 12:50 pm, atomk wrote: > I have different subdomains pointing to