Re: Removing large file from project
Perhaps a clue here?
Ctrtl+Shift+Alt+A Attach File
from Gerry I
It attaches a file to an object in the document. When the document is exported to HTML the file will be included in the index_htm_files folder. If the file is a .js or a .css then the relevant code to include the file in the HTML page will be added to the header. If more than one object on a single page has the same file attached then the file will only be referenced once in the HTML page.
This allows you to easily add css or script files to placeholder objects and have them automatically plumbed in to the HTML page. Then the placeholder code can simply use the script functions or css styles.
This mechanism is designed to (eventually) replace the "support files folder" mechanism that is currently used when you embed various files into a page (PDF, MP4 etc). It has the advantage of the files being attached to the object that requires them so the placeholder object can be easily copied between pages or even between documents and the attached files will be copied as well.
There is another related, undocumented feature. If you apply a name of "UsesJQuery" to an object then the jquery.js script file will be included in the HTML export without clashing with any eyecatcher type widgets that also use JQuery.
Gerry
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Bookmarks