You need to sign in to do that
Don't have an account?

Returing to an anchor on homepage
I have an sControl embedded within an iFrame on the home page. Here's the iFrame code:
<a name="SELOGSCONTROL"><IFRAME src="/servlet/servlet.Integration?lid=01NT0000000Ci4n&ic=1" frameBorder=0 width="100%" height="300"></IFRAME></a>
The sControl includes a link to edit a Task record and return to the SELOGSCONTROL anchor on the homepage. Here's the format used for the link:
<a href='/TASK_RECORD_ID/e?retURL=/home/home.jsp#SELOGSCONTROL' target=\"_top\">Edit</a>
When I save the Task record, I am directed back to the home page, but the page does not scroll down to the anchor.
If I type "/home/home.jsp#SELOGSCONTROL" into the browsers address bar, the page does scroll down to the anchor.
Is there something happening behind the scenes that is stripping my anchor off of the return url?
<a name="SELOGSCONTROL"><IFRAME src="/servlet/servlet.Integration?lid=01NT0000000Ci4n&ic=1" frameBorder=0 width="100%" height="300"></IFRAME></a>
The sControl includes a link to edit a Task record and return to the SELOGSCONTROL anchor on the homepage. Here's the format used for the link:
<a href='/TASK_RECORD_ID/e?retURL=/home/home.jsp#SELOGSCONTROL' target=\"_top\">Edit</a>
When I save the Task record, I am directed back to the home page, but the page does not scroll down to the anchor.
If I type "/home/home.jsp#SELOGSCONTROL" into the browsers address bar, the page does scroll down to the anchor.
Is there something happening behind the scenes that is stripping my anchor off of the return url?
Try encoding the # sign. Use %23 instead and see if that works.
Code:
-greg