$(function() { $("#content").localScroll({ easing:'easeOutQuart' }); });
On Fri, Nov 7, 2008 at 9:29 PM, genius switch <[EMAIL PROTECTED]> wrote: > > I'm doing something wrong of course... man why do I stink at > javascript? > > <script type='text/javascript' src='includes/scripts/ > jquery-1.2.6.min.js'></script> > <script type='text/javascript' src='includes/scripts/jquery.easing. > 1.3.js'></script> > <script type='text/javascript' src='includes/scripts/jquery.scrollTo- > min.js'></script> > <script type='text/javascript' src='includes/scripts/ > jquery.localscroll-min.js'></script> > <script type='text/javascript' src='includes/scripts/init.js'></ > script> > <script type="text/javascript"> > $(function() { > $("#content").localScroll({ > easing:'easeOutQuart', > } > }); > }); > </script> > > > On Nov 6, 1:29 pm, "Ariel Flesler" <[EMAIL PROTECTED]> wrote: >> You include the easing plugin after jQuery, then when you call LocalScroll: >> >> $(...).localScroll( >> .... >> easing:'easeOutQuart', >> .... >> >> }); >> >> You can chose any equation, by name. >> >> On Thu, Nov 6, 2008 at 3:21 PM, genius switch >> >> >> >> <[EMAIL PROTECTED]> wrote: >> >> > Thanks Ariel! I will give that a shot this weekend and let you know >> > how I do. I know plugging in localScroll will be simple enough, but >> > I'm not sure about the easing. I'm quite bad at javascript... which is >> > why I love jquery. Even a simple HTML/CSS developer and web designer >> > such as myself can get stuff up and running fast :) >> >> > - C >> >> > On Nov 6, 8:33 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: >> >> Sure, LocalScroll too. Both allow you to specify an option called >> >> 'easing'. You need to add the easing plugin for fancy equations. >> >> >> Now that I check the demo, I think LocalScroll would fit better. Just >> >> link the buttons and panes by id/href. And it'll do the rest. >> >> >> -- >> >> Ariel Fleslerhttp://flesler.blogspot.com >> >> >> On Nov 5, 7:27 pm, genius switch <[EMAIL PROTECTED]> wrote: >> >> >> > Can that be customized to have the bouncy effect? >> >> >> > On Nov 5, 8:57 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: >> >> >> > > Maybe SerialScroll ? >> >> >> > > -- >> >> > > Ariel Fleslerhttp://flesler.blogspot.com >> >> >> > > On Nov 5, 10:45 am, genius switch <[EMAIL PROTECTED]> wrote: >> >> >> > > > Here is my issue, I have used jCarousel to accomplish what I need... >> >> > > > however the markup is bothering my anal tendencies for pure >> >> > > > semantics. >> >> >> > > > I'm using jCarousel to scroll content blocks in a sexy way, however, >> >> > > > in order to use jCarousel I must have my content blocks inside a >> >> > > > list, >> >> > > > each as a list item. This validates, and is functioning exactly how >> >> > > > I >> >> > > > want it to, however I can't get past the fact that this markup >> >> > > > doesn't >> >> > > > make sense. >> >> >> > > > LocalScroll is my other option, but it doesn't slide sexy the way >> >> > > > jCarousel does. Does anyone have any advice? >> >> >> > > > Here is the test >> >> > > > page:http://www.geniusswitchstudio.com/v2/template.htm >> >> >> > > > Thanks! >> >> >> > > > - C >> >> -- >> Ariel Fleslerhttp://flesler.blogspot.com > > > -- Ariel Flesler http://flesler.blogspot.com