Clarified the differences between what you two are saying. You're both right.
(second argument can also be an itemLink) |
(Clarified the differences between what you two are saying. You're both right.) |
||
| Line 4: | Line 4: | ||
SetHyperlink(frame, link); | SetHyperlink(frame, link); | ||
-or- | |||
frame:SetHyperlink(link); | |||
| Line 33: | Line 37: | ||
== Example == | == Example == | ||
GameTooltip | GameTooltip.SetHyperlink(ItemRefTooltip, "item:16846:0:0:0:0:0:0:0"); | ||
-or- | |||
ItemRefTooltip:SetHyperlink("item:16846:0:0:0:0:0:0:0"); | |||
=== Result === | === Result === | ||
:This will replace the currently showing tooltip with one containing the information for the Giantstalker Helm. | :This will replace the currently showing tooltip with one containing the information for the Giantstalker Helm. | ||