I'm trying to use this a Tree Menu (from CoolDev). I am trying to put an include statement in the javascript so I can include an html file, but have had no success so far.
Here's an example line of the code:
I've tried the following ways, but still get errors.Code:['Images', null, null, ['Simple', null, null, ['</a><img src="img/test1.jpg" width="200" height="100" alt="Test image 200x100"><a>', null, null] ],
Code:['Images', null, null, ['Simple', null, null, ['</a><!--#include file='dir/filename.htm'--><a>', null, null] ],I'm sure I'm just doing this wrong, any tips on how to include an html file in javascript?Code:['Images', null, null, ['Simple', null, null, ['</a><!--#include virtual="menu.html" --><a>', null, null] ],





Bookmarks