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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN homepage slideshow moduleDNN homepage slideshow module
Previous
 
Next
New Post
6/12/2009 11:21 AM
 

 Thanks for the nifty code, Armand.  

What versions of DNN should this work in?  If I remember correctly, jQuery is included in 4.9.1+ (which I am running) but I have no smooth scrolling.  Missing something?

I put the three .js files in my skin folder and edited the script tags' src attributes to point to that folder.

Thanks!
Sam

 
New Post
6/12/2009 11:42 AM
 

 Found the fix, thanks to your tip and a quick search on these forums.  The line below should be added to the page header, module header, or top of the Text/HTML module's content (in source view).

<script src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js"></script>

That, along with the code you previously posted made this work successfully in 4.9.1 for me.  I assume it would probably be preferred to download this script into your own DNN install to limit calls to other external sites.

Sam

 
New Post
6/12/2009 11:55 AM
 

Actually,

 

this is the latest one 

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>

I would just use the one from googlecode instead of from my own server, much better 
 
New Post
6/12/2009 12:03 PM
 

armand datema wrote

Actually,

this is the latest one 

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript">script>

I would just use the one from googlecode instead of from my own server, much better 

Thanks, that's good to know!
Sam

 
New Post
6/17/2009 3:56 AM
 

Thanks for this Armand!

I hadn't realised at first the DNN home page had that setup... to me the side sections looked like they'd just be page links so I never bothered clicking them.

I've applied the code as you've presented - worked fine first time... except I'm seeing the red come through at the top from the #content... it disappears when an item is clicked but on first load #section1 is not moving to the very top and leaving this ~5px red gap.

Has that happened to anyone else?

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN homepage slideshow moduleDNN homepage slideshow module


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