Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • nokki00 Friend
    #169346

    I have a bit of an issue maybe someone can help me figure out. I was testing the JAT 3 2.0 for Joomla 1.7 and wanted to incorporate Smooth Anchors Using MooTools. Now from my understanding joomla uses mootools framework and some jquery scripts may not work so I looked for a Mootools solution. The script in question is from this site http://davidwalsh.name/smooth-scroll. I linked the code in the head.php file but when I open the page is doesn’t work in any browser. When I remove the
    <jdoc:include type="head" />
    from the head.php file it works. I know <jdoc:include type=”head” /> must be in the head.php but not sure why would it cause a conflict. I like the JAT 3 2.0 Framework and think it will be a great solution for my clients. With the scroll and jdoc statement enabled firefox crashes and other browsers don’t work.

    Any suggestions would be appreciated

    nokki00 Friend
    #417845

    of course I had to take out the mootools link out and only use
    <script type="text/javascript">window.addEvent('domready',function() { new SmoothScroll({ duration: 1800 }); });
    </script>

    then set the
    <jdoc:include type="head" />
    before
    <script type="text/javascript">window.addEvent('domready',function() { new SmoothScroll({ duration: 1800 }); });
    </script>

    in the file.

    It works now.

    jooservices Friend
    #418842

    Thank you for the solution 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  jooservices 13 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum