![]() ![]() This is optional a reasonable default height will be used if you omit this. The height of the to create, specified in px. Note that if you want to use a specific width, you must also specify the height parameter. This is optional a reasonable default width will be used if you omit this. The width of the to create, specified in px. ![]() The best way to be sure you have the ID right is to look at the URL of the section in the page's table of contents you can also check it by viewing the source of the page. Required: The ID of the heading or enclosing block to draw the code from. Of course, as a practical matter, the code must contribute to the point of the page that contains it random stuff running on MDN will be removed by the editor community. The resulting frame (or page) is sandboxed, secure, and technically may do anything that works on the Web. The general structure is where group-id is the ID of the heading or block where the code is located. The macro uses a special URL to fetch the sample code for a given group, for example. Note that code blocks under subheadings of the specified heading are all used if this is not the effect you want, use an ID on a block element instead. If the ID belongs to a heading, the group includes all the code blocks that are after that heading and before the next heading of the same heading level.If the ID belongs to a block element, the group includes all the code blocks within the enclosing block element whose ID is used.The macro call that (creates the frame or the link that) displays the result of the code blocksĪ "group" of code blocks, in this context, is identified by the ID of a heading or a block element (such as a ).A live sample therefore consists of two pieces: The live sample system gathers up all the code in a group, merges it into one HTML file, and then renders that HTML in an. ![]()
0 Comments
Leave a Reply. |