View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
The Server.Transfer method does not redirect to another page, but rather calls another script and then exits.  It does not cause a round trip to the browser, like the Response.Redirect method would.

If you want the page to scroll down to a different location of the document after it loads in the browser, you will have to either:
1. Use Response.Redirect in conjunction with the #bottom syntax
For example:
Response.Redirect('billbash.fwx#bottom?oName=' + m.oName + '&pName=' + m.pName)
Note that the above code sends the oName and pName arguments as QueryString variables.  The billbash script will have to use the Request.QueryString method to retrieve their values.

2. Another solution is to add javascript code in the page you load, which causes the document to scroll down
For example:
<body onload="document.location.href='#bottom'">
We have not tested this solution, but it should work fine.  The advantage here is that you don't have to make a round trip to the browser.

FoxWeb Support Team
support@foxweb.com

Sent by Sunil Shah on 02/05/2002 06:12:35 AM:
In a normal HTML page I do the following :

<a href="billbash.html#bottom"> bottom</a>

How do I do this in foxweb ?

I have got this line :

Server.Transfer('billbash.fwx',m.oName,m.pName)

I want to transfer to section called "bottom" on page billbash.fwx.

Is this possible ?

TIA
Sunil Shah