Hi All,
Posting in this forum, as i have found that all aftermarket skins i have purchased are missing what i am chasing, so i figure its more of a question for you programmers, than the skinners.
I have noticed ona very 'tall' module that when using the default Minimal Extropy theme, on postback the page remebers my position, when switching to any aftermarket theme, this feature is missing. In comparing the html source outputs of the two skins, i have found the following differences - which would indicate the cause:
Bottom of M/E Output:
<input name="ScrollTop" type="hidden" id="ScrollTop" value="2116" />
Bottom of custom skin:
<input name="ScrollTop" type="hidden" id="ScrollTop" />
I then went searching for a reason why the value might not be getting populated on my other skins and found that all of the following is present in the standard skins body section, but missing in all of my customs kins:
<script src="/js/dnn.js" type="text/javascript"></script>
<script src="/js/dnn.dom.positioning.js" type="text/javascript"></script>
<script src="/js/dnn.xmlhttp.js" type="text/javascript"></script>
<script src="/js/dnn.controls.js" type="text/javascript"></script>
<script src="/js/dnn.controls.dnnmenu.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function Webform_OnSubmit() {
dnn.controls.submitComp.onsubmit();
return true;
}
//]]>
</script>
and this highlighted part:
<body id="Body">
<noscript></noscript>
<form name="form" method="post" action="/Orders/tabid/80/Default.aspx" onsubmit=" return Webform_OnSubmit();" id="form" enctype="multipart/form-data">
I have used VB to perform a multitude of site wide searches trying to locate any of the above code, in any of the ways i know how to include javascripts into a page. im here asking for advice on where to look for this code relating the default M.E. Skin, so that i can add it to the custom skin and hope for the best. All i'm realyl after is functional Scrolltop behaviour!
Many thanks in advance, Charles.