Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Assign URL to a button 1999-11-11 -- Gavin Halliday I can think of a simple solution, but unfortunately it requires a bug fix
that didn't get in the first beta. (It should work with isapi, but not the
beta stand alone broker).
Try some code like:
CASE ACCEPTED()
OF ?MyButton
WebServer.Client.TakePage('http://topspeed.com/page',false)
WebServer.TakePageSent()
If the URL is absolute (starts with / or http: or https:) then it should
redirect correctly.
Steve Parker adds:
Then, the following should also work:
CASE ACCEPTED()
OF ?MyButton
WebServer.Client.TakePage( CLIP(myLinkVariable) ,false)
WebServer.TakePageSent()
where a locally assembled variable contained the url.
Today is November 21, 2024, 8:28 am This article has been viewed 35199 times.
|
|