Announcement

Collapse
No announcement yet.

Buttons @URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Buttons @URL

    Where are buttons explained, I see good use of a button in the example EFS, Alerts/AlertMaWithReset.efs, but when I look up drawTextRelative there is no information on buttons.

    Thanks,

    Karl

  • #2
    Hello Karl,

    Please check out our Guide to Developing eSignal Graphics.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      URL Button ??

      OK, that was fun, I see that for drawTextRelative(.., Text, ..)

      Text - This is the text that will appear on the study. You can associate a URL with this text. When the user clicks on the text, a browser will be invoked. To associate a URL, add (eg) "@URL=http://www.yoururl.com/index.asp?parmeter1=abc&parameter2=xyz" to the end of your text string.

      a browser can be invoked.

      Looking at the example code I see that that this is set to:

      "Reset@URL=EFS:ResetCallBack"

      And also in the example there is a stand-alone function:

      function ResetCallBack(nButtonPressed) {
      bIsLong = false;
      }

      So, if I fill in the blanks, using EFS:<function name>, eg.

      "@URL=EFS:ResetCallBack"

      to the button text invokes my function when the user clicks it.

      Comment


      • #4
        Karl,

        Here are several efs's that you may find of interest. If you use the search tool, I am sure you can find several other efs's that can help you as well.

        Comment

        Working...
        X