Difference between revisions of "Template:UI Object Attributes (Link)"

From HSYCO
Jump to navigation Jump to search
 
Line 11: Line 11:
 
|<url>
 
|<url>
 
|A url starting with http:, https:, ftp: or / (for a relative url). When the button is clicked, the browser will navigate to the specified url (e.g. "http://www.apple.com")
 
|A url starting with http:, https:, ftp: or / (for a relative url). When the button is clicked, the browser will navigate to the specified url (e.g. "http://www.apple.com")
If the url string starts with ! the link will open in a new page (e.g. "!http://google.com")
+
If the url string starts with ! the link will open in a new tab (e.g. "!http://google.com")
 
|-
 
|-
  
 
|}
 
|}

Latest revision as of 11:26, 12 March 2019

Link attributes

Name Value Description
link <page id> Set the link to a specific page, so that when the button is clicked, the interface will navigate to that page (e.g. "menu")
<url> A url starting with http:, https:, ftp: or / (for a relative url). When the button is clicked, the browser will navigate to the specified url (e.g. "http://www.apple.com")

If the url string starts with ! the link will open in a new tab (e.g. "!http://google.com")