Есть в природе букварь по скрипту, называется Script56.CHM" в край на MSDN все расписано. Это просто кусок ХЕЛПА Places an HTML anchor with an HREF attribute around the text in a String object. strVariable.link(linkstring)"String Literal".link(linkstring) The linkstring argument is the text that you want to place in the HREF attribute of the HTML anchor. RemarksCall the link method to create a hyperlink out of a String object. The following is an example of how the method accomplishes this: var strVariable = "This is a hyperlink";strVariable = strVariable.link( "http://www.microsoft.com") ; The value of strVariable after the last statement is: <A HREF="http://www.microsoft.com">This is a hyperlink</A> No checking is done to see if the tag has already been applied to the string. RequirementsVersion 1 See Alsoanchor Method | String Object Methods | String Object Properties Applies To: String Object
Ответить
|