Foren / Cotonti / Support / embed some html5/js

musashi9
#1 2. April 2012, 06:19

Hello I am trying to embed some js into a page but it wont appear in the main body. it shows up at the bottom of the page

cotonti 0.6.5

page parsing set to html


<script type="text/javascript" src="html5/atx/anthrox.js"></script>
<img id="balls" src="html5/atx/balls.png" alt="" style="display:none"/>
<img id="coder" src="html5/atx/coder.png" alt="" style="display:none"/>
<img id="font"  src="html5/atx/font.png"  alt="" style="display:none"/>
<img id="logo"  src="html5/atx/logo.png"  alt="" style="display:none"/>
Trustmaster
#2 2. April 2012, 06:39

What editor do you use? The editor probably doesn't allow script insertion for security reason.

May the Source be with you!
musashi9
#3 2. April 2012, 08:35

I think markitup. ?

The content is displaed but at the bottom of the page.

Trustmaster
#4 2. April 2012, 11:40

I could not reproduce it on 0.6.22: that html appears where I put it in the text.

May the Source be with you!
musashi9
#5 2. April 2012, 12:34

ah ok thanks I will try something else