I'm using this rutine into AMS to identify which link in a HTML embedded in a AMS page was clicked:
nPos = String.ReverseFind(e_URL,"#",true);
if nPos then
strPage = String.Mid(e_URL, nPos+1, -1);
Page.Jump (strPage);
end
Basically the link in the HTML has this format:
<a href= "#Menu1" target ="_top">
And the rutine above search for the "#" to find the name of the page to jump. The rutine works OK, but preverves the name of the last page clicked on the HTML and when I click in buttons designed in AMS they don't obey anymore and only jumps to the last page selected by the HTML.
Hope I was enough clear, english is not my language..hehehe.
Any advice? Thanks in advance.
nPos = String.ReverseFind(e_URL,"#",true);
if nPos then
strPage = String.Mid(e_URL, nPos+1, -1);
Page.Jump (strPage);
end
Basically the link in the HTML has this format:
<a href= "#Menu1" target ="_top">
And the rutine above search for the "#" to find the name of the page to jump. The rutine works OK, but preverves the name of the last page clicked on the HTML and when I click in buttons designed in AMS they don't obey anymore and only jumps to the last page selected by the HTML.
Hope I was enough clear, english is not my language..hehehe.
Any advice? Thanks in advance.
Comment