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

From HSYCO
Jump to navigation Jump to search
(Created page with "=== Link attributes === {| class="wikitable" !Name !Value !Description |- |rowspan="2"|link |<page id> |Set the link to a specific page, so that when the button is clicked, th...")
 
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")
 
|-
 
|-
  
 
|}
 
|}

Revision as of 10: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 page (e.g. "!http://google.com")