one-file output means that all artboards will be written into one html file.Possible values: one-file multiple-files.fixed responsiveness means that the ai2html div will appear only at the size it was created in Illustrator and will not change sizes if the container it is placed in changes size.dynamic responsiveness means that the ai2html divs will scale to fill the container they are placed in.The first format in the list will be the only one referenced in the html. This can be useful if you want to see which image format has the smallest file size. You can specify more than one image format to be output by listing the desired formats separated by commas.Options that are included in the settings text block by default: When you run ai2html for the first time in your ai file, the script will place a settings text block to the upper left of all your artboards. The special text blocks can be placed anywhere in your Illustrator document, but note that if you place them on an artboard, their contents will be rendered in your output. This should be the only thing on the first line of the text block. The first line of the text block should begin with ai2html- followed by one of the following keywords: settings, css, js, html or text. The script recognizes five special types of text blocks. Configuration data should match the format of the defaultSettings object near the top of the ai2html.js file. ai file (see “Special text blocks” below). Any settings contained in these files will override the default program settings, and will be overridden by any settings contained in the. The script will look for files named ai2html-config.json in two locations: the Illustrator scripts folder where the ai2html.js file is located and the folder containing your.
There are several ways of customizing the output of the script: By having the text rendered in HTML, it is much easier for editors to go into the CMS and make edits without having to wade through a tangle of SVG code.
Inside will be a folder called ai2html-output. Go to the folder containing your Illustrator file.Run the script by choosing: File > Scripts > ai2html.Use Arial or Georgia unless you have added your own fonts to the fonts array in the script.Make sure your Document Color Mode is set to RGB.Size the artboard to the dimensions that you want the div to appear on the web page.Applications/Adobe Illustrator CC 2015/Presets/en_US/Scripts/ai2html.js