Can anyone tell me how to create a link, within a Rich Text Object, to another AMS page (not to a URL)? For example, I want a Click Here type of link that will cause it to jump to another page.
Thanks.
Professional Software Development Tools
Can anyone tell me how to create a link, within a Rich Text Object, to another AMS page (not to a URL)? For example, I want a Click Here type of link that will cause it to jump to another page.
Thanks.
Here you go i've used a richtext object and a paragraph because in a paragraph you can use on click (you will see the difference through the colours)
Last edited by limboo; 06-22-2008 at 02:12 PM.
Thanks - I had already done it in a similar way - using a label - but a paragraph is easier to work with. I gather though it there is no way to do it directly within the RTO.
Larry
Try something like this, I've had success with this method:
on RT object 'On Selection Change'
Where the description in the RTO = "click here to jump to page2."Code:clickhere = RichText.GetSelection("RichText1") if clickhere.Start > 6 and clickhere.Start < 11 then Page.Jump("Page2") end
Any click on position 7-10 will jump pages...
hth
That's easy. If set the text of a link to "page 2", then in the On Link event put Page.Jump(e_Link) and it will jump to page 2 when clicked.
If you don't want to use the actual page names in the text then use.
Code:if e_Link == "sometext" then Page.Jump("somepage") elseif e_Link == "someothertext" then Page.Jump("someotherpage") -- and so on... end
Dermot
I am so out of here
Example attached. Links are set in the pages's On Show event.
Last edited by Dermot; 11-14-2009 at 09:33 PM.
Dermot
I am so out of here
LMAO - Drat, upstaged again!
Nice one Dermot - that's a much better approach.
That's great - thanks so much.