Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Include Javascripts at the Skin level?Include Javascripts at the Skin level?
Previous
 
Next
New Post
4/28/2009 6:23 PM
 

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.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Include Javascripts at the Skin level?Include Javascripts at the Skin level?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out