URLs in text ... Jeanne?

Shao Sean shaosean at unitz.ca
Wed May 8 15:41:00 EDT 2002


> on linkClicked theLinkText
if the text clicked is a url, then like this is just fine.. if you're using
a word as a hyperlink (like on a webpage) change your code to something like
this

on linkClicked theLinkText
  switch (theLinkText)
  case "Homepage"
    revGoURL " http://www.example.org/ "  -- (no spaces in quotes, my email
client just sucks)
    break
  case "Some Other Website"
    revGoURL " http://www.example.org/moo/ "  -- (again, no spaces in
quotes)
    break
  end switch
end linkClicked




More information about the use-livecode mailing list