Re: Roll to web page vertical position

From: Tony Marston (tony_at_NOSPAM.demon.co.uk)
Date: 10/26/04


Date: Tue, 26 Oct 2004 06:32:00 +0100


"terry" <leonlai2k@yahoo.com> wrote in message
news:9904d48.0410251843.327dbbf2@posting.google.com...
>> <div id="entry12">
>> Edit entry
>> </div>
>>
>> And you go as www.mysite.com/index.php?mode=view#entry12
>
> Your method is OK.
>
> But if the link is clicked by a form button,
>
> for example, I have tried the following
>
> :
> :
> print("<form action=\"".$_SERVER["PHP_SELF"]."#'".str_replace("
> ","_",$name)."'\" method=get>");
> :
> :
>
> but cannot succeed.
>
> Could u teach me more?

You cannot use anchors when posting from the client to the server. They are
only effective on the client when included in URLs. It is possible to
generate a URL from the server (i.e. from within PHP) which will set the
cursor at a particular point when the HTML document is rendered. I know
because I have done it.

-- 
Tony Marston
http://www.tonymarston.net


Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)
  • Re: What doesnt lend itself to OO?
    ... > rather than client code. ... no way to do that without also touching the object with clock semantics ... will not encapsulate both clock semantics and network semantics. ... The server can do whatever it wants ...
    (comp.object)
  • RE: Fax monitor incoming + outgoing calls?
    ... problem between the client computer and the SBS server. ... Client is using the internal IP address of the SBS server as the ... To the folder redirection GPO issue: ...
    (microsoft.public.windows.server.sbs)