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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...top_scroll javascript errortop_scroll javascript error
Previous
 
Next
New Post
7/8/2006 10:11 AM
 

I have managed to produce a dnn skin for my first web site

I install it on a dummy server set up I use as a sandbox - this runs dnn 4.3.0, SQL  server 2005 and iis 6

When I install the skin - which has no containers - on my dev set up - dnn 4.3.1 SQL 2005 and iis 5 I get an error when I apply the skin

It occurs when scrolling - an jav script error box pops up and says top scroll object is invalid/missing or null

The scroll occurs but i have to reset to default skin - where the site then behaves normally - if i persist with the problematic skin it still shows the same problem even when containers are set

Debugging the code seems to be in core java script routine

 

Any what I'm doing wrong anyone??

 


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
7/8/2006 3:16 PM
 

Applogies I have just got back to the machine with the problem and realise this hasnt been reported properly the error reads

Runtime Error

Line 46

Error:'ScrollTop' is null or not an object

It claims to be an unhandled exception in dnncore.js

function __dnn_bodyscroll()

{

var oF=document.forms[0];

if (__dnn_ClientAPIEnabled() && __dnn_m_bPageLoaded)

oF.ScrollTop.value=document.documentElement.scrollTop ? document.documentElement.scrollTop : dnn.dom.getByTagName("body")[0].scrollTop;

}

i have changed it to

function __dnn_bodyscroll()

{

var oF=document.forms[0];

if (__dnn_ClientAPIEnabled() && __dnn_m_bPageLoaded)

if( oF.ScrollTop != null)

oF.ScrollTop.value=document.documentElement.scrollTop ? document.documentElement.scrollTop : dnn.dom.getByTagName("body")[0].scrollTop;

}

 which seems to stop the error but hardly a quality solution - unless it is the problem


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
7/28/2006 4:16 PM
 

Error:'ScrollTop' is null or not an object

I'm getting this exact same error. I didn't realize it had anything to do with skins. I just installed version 4 and accepted the default skins. Should I just find function __dnn_bodyscroll() and make the changes you made?

I have no idea what I'm doing. I saw DNN demo'd at a conference recently and decided to download it to see if it was a solution to our problem with Snitz Forums. (We need to use NT Authentication and Snitz doesn't support it through AD on a Windows Server 2003 box.) Anyway, I'm having issues. It seems awfully "flaky" and it's very slow. I freely admit that I don't have a clue what I'm doing, though. If anybody can help with that error or offer advice, I'd appreciate it!

 

 
New Post
7/28/2006 4:57 PM
 

 

This error is usually because you have inserted a <Form> tag in your html.

ASP.Net (and therefor DNN) only allows  one HTML form element per page, and DNN already puts that one in.


DotNetNuke Modules from Snapsis.com
 
New Post
7/31/2006 3:34 AM
 

What if I desperately want to add bog standard HTML mail capture form that posts to an external site (in this particular case aweber.com) ? I also tried the text/html module and realize the problem.

I realize that I can use an IFrame or do some coding to capture the form and fake a form post it under the hood BUT both methods have disadvantages.

Any other way? I was thinking maybe some hack involving  the .NET 2  ability to crosspost?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...top_scroll javascript errortop_scroll javascript error


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