Re: Roll to web page vertical position
From: Tony Marston (tony_at_NOSPAM.demon.co.uk)
Date: 10/26/04
- Next message: Olaf Kliemt: "PHP/Mysql/special characters problem"
- Previous message: Maarten Koster: "Copy webpage, protected by session"
- In reply to: terry: "Re: Roll to web page vertical position"
- Next in thread: John Dunlop: "Re: Roll to web page vertical position"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Olaf Kliemt: "PHP/Mysql/special characters problem"
- Previous message: Maarten Koster: "Copy webpage, protected by session"
- In reply to: terry: "Re: Roll to web page vertical position"
- Next in thread: John Dunlop: "Re: Roll to web page vertical position"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|