Hello,
i have one question about scripting in DNN.
Can i use scripts in Html module, without editing skin.html and putting script code between Head tags ?
Now, i have Add Html Content edit in my TopPane and i write this source:
<ul class="myEffect">
<li>
<a href="#">menu0</a></li>
<li>
<a href="#">menu1</a></li>
<li>
<a href="#">menu2</a></li>
<li>
<a href="#">menu3</a></li>
<li>
<a href="#">menu4</a></li>
<li>
<a href="#">menu5</a></li>
</ul>
<script type="text/javascript" src="js/jquery.somescript.js"></script> // this script by html rules go between html tags in skin.html
<script type="text/javascript" src="js/jquery.effect.js"></script> // this script by html rules go between html tags in skin.html
<script type="text/javascript">
$(function() { $(".myEffect").myEffect({ fx: "backout", light: 700 })}); // this script by html rules go between body tags in skin.html
</script>
On page everithing is working well and without any problems, all without editing skin.html and parsing !
Can i use this metod or i must edit skin.html, then put scripts between head tag, then parse etc ... !?!?
I dont know if there can be any problems with scripting in content ? Plese give me advice !!!