function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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&amp;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?
Greg HGreg H

Try encoding the # sign.  Use %23 instead and see if that works.




Thanks!  That was it.  I thought I had already tried that, but I guess not.