Search found 2 matches

by Calum
Sat 14. Mar 2015, 20:27
Forum: CMSimple 4.0 and higher
Topic: External Javascript causing editor problems
Replies: 3
Views: 5770

Re: External Javascript causing editor problems

Thanks Gert, It was suggested that I use a simple hack of only including the JS lines when I load the template in view mode: <?php if (!($adm && $edit)):?> <script src="http://moinejf.free.fr/js/abc2svg-1.js" type="text/javascript"></script> <script src="http://moine...
by Calum
Sat 14. Mar 2015, 18:36
Forum: CMSimple 4.0 and higher
Topic: External Javascript causing editor problems
Replies: 3
Views: 5770

External Javascript causing editor problems

I'll describe what I'm trying to do, before getting into what's going wrong. Running CMSimple 4.4.5. I want to embed small fragments of music notation on my web pages. I want to be able to update and edit these regularly, so I'd prefer to not create and upload images, so I found a Javascript library...