I am working on a large app and trying to fit wymeditor into its structure. My problem is understanding the location for the js and css files. i have already incorporated the css and js into the structure of the app. i am trying to understand how/or where to change the location of the js and css files to get wymeditor working. I appreciate any help.
Here is my test page
http://www.roxstyle.com/projects/blssi/ ... -bio.html#
app structure as follows
"app" folder
---html
..."js" folder (holds jquery.wymeditor.js and skin.js)
..."css" folder (css incorporated into several css all called from tools.css)
the html head calls
<link rel="stylesheet" href="css/tools.css" type="text/css" media="all" />
and all js is called before </body>
i have made a function on a click - a panel opens with a form and the wymeditor
<script type="text/javascript">
$(function() {
$(".bio-edit").click(function() {
defaultBio();
$(this).parents(".innerWrap .category").find(".bioedit").show();
$(this).parents(".innerWrap .category").find(".biodoc").hide("slow");
$(this).addClass("selected");
return false;
$('.txteditor').wymeditor({
stylesheet: 'css/tools.css',
cssPath: "css/tools.css",
jQueryPath: "js/skin.js",
postInit: function(wym) {
//adjust the editor's height
$(wym._box).find(wym._options.iframeSelector)
.css('height', '250px');
}
});
});
function defaultBio() {
$(".fulltext").hide();
$(".biodoc").show();
$(".bioedit").hide();
}
});
</script>