• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Page Anchors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Page Anchors


  • Subject: Re: Page Anchors
  • From: Jonathan Rochkind <email@hidden>
  • Date: Mon, 5 Jan 2004 15:30:12 -0600

Anchor references are actually not a part of the URL. By which I mean, they are for use only by the browser. When you click on a URL in the browser, the browser takes note of the anchor reference, but the browser does NOT send the anchor reference to the server. It only takes note of it, so it can jump to that anchor in the returned page. The theory is that the server doesn't need to know the anchor reference, it's got nothing to do with what content is returned from the request, it's only got to do with what the browser does with that content (jumps to a certain point on the page).

So, if all that makes sense... there's no way to get this information, and it's not a WO issue, the same would be true of any server application at all. The anchor information is not sent to the server.

--Jonathan

At 3:53 PM -0500 1/5/04, Fournier, Pete wrote:
Even though the docs for WORequest state that everything aflter the
questionmark in a URL can be obtained by calling WORequest's
queryString() I am not getting back anchor references.

For an URL like this:

http://somedomain/scripts/WebObjects.dll/MyApplication?this=that&some=wh
at#PageAnchor1

queryString() is only returning the this=that&some=what portion and
leaving off the #PageAnchor1 portion.

Any ideas on how to get the anchor reference?

Peter Fournier



----------------

This communication (including all attachments) is intended solely for the use
of the person(s) to whom it is addressed and should be treated as a
confidential AAA communication. If you are not the intended recipient, any
use, distribution, printing, or copying of this email is strictly prohibited.
If you received this email in error, please immediately delete it from your
system and notify the originator. Your cooperation is appreciated.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Page Anchors
  • Next by Date: Re: Page Anchors
  • Previous by thread: Page Anchors
  • Next by thread: Re: Page Anchors
  • Index(es):
    • Date
    • Thread