JavaScript Instance Tutorial (19) using HoTMetaL (2)
Source: Internet
Author: User
Javascript| Tutorial 2. How to add a button to the menu bar
There are several ways to run JavaScript macros. The first approach is to link the button of the toolbar to the macro and add the button to the HoTMetaL user interface, as we've already said in the previous section. The first method is slightly distorted in this section of the tutorial, dragging a New button from the dialog box to the toolbar area, as shown in Figure 6 as a dragged HoTMetaL window:
(Figure 6)
When calling the Toolbar and Menu customization dialog box, be sure to note that the new toolbar (named ToolBar1) has been created. This toolbar tag allows you to change the name of the toolbar and its format. Once you create a new tool bar, you can add more buttons to it. Turn from: Dynamic Network production guide www.knowsky.com
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service