{"id":4048,"date":"2016-02-15T20:00:29","date_gmt":"2016-02-15T19:00:29","guid":{"rendered":"http:\/\/www.samlogic.net\/blog\/?p=4048"},"modified":"2020-10-30T23:43:42","modified_gmt":"2020-10-30T23:43:42","slug":"cd-menu-creator-how-to-open-a-web-page-from-a-menu","status":"publish","type":"post","link":"https:\/\/www.samlogic.net\/blog\/2016\/02\/cd-menu-creator-how-to-open-a-web-page-from-a-menu\/","title":{"rendered":"CD-Menu Creator: How to open a web page from a menu"},"content":{"rendered":"<p>Besides opening documents on the local drive you can also open web pages on the Internet from a menu interface created with <a href=\"https:\/\/www.samlogic.net\/cd-menu-creator\/cd-menu-creator.htm\" target=\"_blank\" rel=\"noopener noreferrer\">CD-Menu Creator<\/a>. There is button command with the name <strong>Show Internet Page<\/strong> that can be used to open the web page.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-cd-menu-creator\/cdmc-editor-dialogbox-add-button--show-internet-page.png\" alt=\"Show Internet Page (1)\" border=\"0\"><\/p>\n<p>If you choose this command from the <strong>Command<\/strong> combo box in the <strong>Add Button<\/strong> or <strong>Edit Button<\/strong> dialog box, a text box with the name <strong>Web Page (URL)<\/strong> is shown. Here you can enter a URL to a web site or web page on the Internet. For example:<\/p>\n<p><span style=\"color: #444477;\"><strong>http:\/\/www.samlogic.net\/cd-menu-creator\/cd-menu-creator.htm<\/strong><\/span><\/p>\n<p><strong>Also PDF documents can be opened<\/strong><br \/>\nYou can also enter a URL to a PDF document on the web in the <strong>Web Page (URL)<\/strong> text box. For example:<\/p>\n<p><span style=\"color: #444477;\"><strong>http:\/\/www.mycompany.com\/mydocuments\/myuserguide.pdf<\/strong><\/span><\/p>\n<p><img decoding=\"async\" class=\"alignright\" src=\"https:\/\/www.samlogic.net\/blog\/images\/logotypes\/pdf-icon-special-1.png\" border=\"0\" alt=\"\">If you specify a URL to a PDF document, the PDF document will be opened in the end-user&#8217;s web browser. Specifying a URL to a PDF document on the Internet instead of specifying a file path to a local version of the PDF document (that is distributed with your CD\/DVD or USB stick) can be a good idea if you update the PDF often. The end-user will then always have access to the latest version of your PDF document. But if you do not update the PDF so often, it is probably better to distribute the PDF with your menu and use the <strong>Show Document<\/strong> command in CD-Menu Creator to open the PDF.<\/p>\n<p><strong>If your URL contains uppercase letters<\/strong><br \/>\nCD-Menu Creator converts normally uppercase letters in URL&#8217;s to lowercase letters, but if you need to preserve the uppercase letters in the URL, you can insert a <strong>@<\/strong> character in the beginning of the URL. For example:<\/p>\n<p><span style=\"color: #444477;\"><strong>@http:\/\/www.mycompany.com\/MyWebFolder\/MyPage.htm<\/strong><\/span><\/p>\n<p>See also the picture below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-cd-menu-creator\/cdmc-editor-dialogbox-add-button--show-internet-page--at-char.png\" alt=\"Show Internet Page (2)\" border=\"0\"><\/p>\n<p><strong>Both HTTP and HTTPS is supported<\/strong><br \/>\nBoth the <strong>HTTP<\/strong> and the <strong>HTTPS<\/strong> protocol is supported. So you can start the URL with <strong>http:\/\/<\/strong> or <strong>https:\/\/<\/strong>. You can also omit the protocol. Then is the <strong>HTTP<\/strong> protocol (<strong>http:\/\/<\/strong>) used automatically with the URL. But it is a good practice to always include the protocol when dealing with URL&#8217;s.<\/p>\n<p><strong>How to open local web pages<\/strong><br \/>\nThe <strong>Show Internet Page<\/strong> can only be used to open web pages on the Internet. If you need to open a web page (HTML page) that is located on the same drive as your menu (or on another drive in the computer) you must use the <strong>Open Document<\/strong> command instead.<\/p>\n<p><strong>See also<\/strong><br \/>\n<strong><span style=\"color: #ff0000;\">&gt;<\/span><\/strong> <a href=\"https:\/\/www.samlogic.net\/blog\/2016\/02\/cd-menu-creators-button-commands-explained\/\">CD-Menu Creator\u2019s button commands explained<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Besides opening documents on the local drive you can also open web pages on the Internet from a menu interface created with CD-Menu Creator. There is button command with the name Show Internet Page that can be used to open the web page. If you choose this command from the Command combo box in the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.samlogic.net\/blog\/2016\/02\/cd-menu-creator-how-to-open-a-web-page-from-a-menu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;CD-Menu Creator: How to open a web page from a menu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[],"_links":{"self":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/4048"}],"collection":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/comments?post=4048"}],"version-history":[{"count":1,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/4048\/revisions"}],"predecessor-version":[{"id":6055,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/4048\/revisions\/6055"}],"wp:attachment":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/media?parent=4048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/categories?post=4048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/tags?post=4048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}