下面的代码工作正常。我正在尝试将我的 java 脚本和 CSS 添加到 Umbraco..我正在做一些数据迁移,但我不确定在哪里添加因为我是 umbraco 的新手..我正在使用 Umbraco 3 .
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="ddaccordion.js">
</script>
<script type="text/javascript">
ddaccordion.init({
headerclass: "submenuheader",
contentclass: "submenu",
revealtype: "click",
mouseoverdelay: 200,
collapseprev: true,
defaultexpanded: [],
onemustopen: false,
animatedefault: false,
persiststate: true,
toggleclass: ["", ""],
togglehtml: ["suffix",
animatespeed: "fast",
oninit:function(headers, expandedindices){
},
onopenclose:function(header, index, state, isuseractivated
{
//do nothing
}
})
</script>
<style type="text/css">
.glossymenu{
margin: 5px 0;
padding: 0;
width: 170px; /*width of menu*/
border: 1px solid #9A9A9A;
border-bottom-width: 0;
}
</style>
</head>