IE8 Accelerator - question on selection and link RRS feed

  • Question

  • I wrote an accelerator that searches either highlighted text {selection} or the text from a hyperlink {linkText}  and that all works just fine.

    What about if I want to search for a portion selected text from the hyperlink?  can I do that?  it seems that if I'm on a hyperlink then "link" activity action is taken but I can't  use the {selection} for a parameter.

    Here is basically what I have now.

    <os:activityAction context="selection">
       <os:execute action="http://www.xxx.com/list.asp" method="get"> 
       <os:parameter name="szSearch" value="{selection}" type="text" />
    <os:activityAction context="link">
       <os:execute action="http://www.xxx.com/list.asp" method="get">
       <os:parameter name="szSearch" value="{linkText}" type="text" />
    Tuesday, June 23, 2009 10:25 PM