Hi
i've made an include system that uses Server.Execute(filename), it works for static content, however, i'm experiencing difficulty including a RTE
these javascripts are included in the default.asp
path: www/default.asp
and this is the editor pageCode:<script language="JavaScript" src="include/yusasp_ace.js"></script> <script language="JavaScript" src="include/yusasp_color.js"></script> <script language="JavaScript" src="include/submit.js"></script>
path: www/addons/editor/editor.asp
all javascript files for the editorCode:<div id="content"> <script type="text/javascript"> LoadContent() </script> <form method="post" action="access_update_news.asp?pid=<%=pid%>" name="SaveForm" ID="Form1"> Emne: <input name="news_heading" type="text" value="<%=heading%>" size="65"> <br><br> <input type="hidden" name="txtContent" value="" ID="Hidden1"> <script language="JavaScript" src="include/editor.js"></script> <input name="hiddenID" type="hidden" id="hiddenID" value=""> </form> <a href="access_delete_news.asp?nid=3" onClick="return confirm('Er du sikker på at du vil slette?')"><img src="../btnmaker/btn_tpl_01.php?text=Slett Nyhetsbrev&width=140&size=10&shadow=false&scheme=out" srcover="../btnmaker/btn_tpl_01.php?text=Slett Nyhetsbrev&width=140&size=10&shadow=false&scheme=over" border="0"></a> <textarea rows=7 cols=40 ID="idTextarea" name="idTextarea" style="display:none">dfsjethertherth</textarea> </div>
path: www/include/
The editor loads when i request the editor page, but it seem that not all js is loaded.
any clues?
Chris





Bookmarks