CodeCanyon

fancyScroll

  • Bought between 10 and 49 items
  • Has been a member for 3-4 years
amaca Purchased

hi, i based an entire website with this scroll, but now i ve just realized that it doesn’t work with all version of Explorer…the reason is always a javascript error: “Arguments are not valid” and the reference is the file fancyscroll.js, 93 line, 2 character. the code line is:

//and apply inline style to background
dv.self.style.backgroundPosition=of;

in all other browser work…just EXPLORER 7 ,8 and 9 doesn’t work…please i really need help, my client need this site as soon as possible for an advertising campaign. I am sending the website in e-mail, so you can check. Please, i really need help :(

flGravity

I seems have found the problem, check my email.

Default-user
amaca Purchased

Thank you flGravity to help me, the problem is going to be fixed with new version of the script, isn’t it? ;) now it works with all browsers with no problems ;) he is very friendly and helpful and he fixed all what i have asked…great experience!!! i ll remember you!

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years
oquedo Purchased

Hello flGravity, love your scroller.

Is there a way to synchronize the content of the “fancyscroll-background” divs to the movement of the background?

flGravity

Thanks for question! Setting “offset” attribute to 0 will sync “fancyscroll-background” with actual scroll, if you meant this

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years
oquedo Purchased

So basically there is no offset for the content on the divs, only its background ?

flGravity

yes! “offset” attribute that set for “fancyscroll-background” div affects background-image position, not position of div element itself

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years
oquedo Purchased

Hello, me again. How do I avoid displacement in the X axis for the .fancyscroll-background divs? I need their backgrounds centered on X and offsetting on Y. They keep changing to 50px as soon as I click their “anchor” links.

Thanks in advance.

flGravity

Hi, first of all you need to avoid setting initial background position with ‘left’ or 50% for fancyscroll-background divs, use only pixels. If that is not the case, I need to see your work in action to get better understanding of the problem.

  • Exclusive Author
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Brazil

in class fancyscroll-background , take him to the background image and plays by default to the left, but I need her to be right more animation, is to do this? with a certain percentage of the more when it happens automatically positions the scroll key left = /

  • Has been a member for 1-2 years

Hi, awesome effect. It’s the same parallax scrolling? whats the difference?

flGravity

Thanks! I never worked with parallax. But as far as I know in parallax animation is based on changing background-position property depending on page scroll. My plugin works a bit differently. First of all it allows to configure “offsets” for backgrounds. The result is that backgrounds move with different speeds and possibly in different directions. Along with this my plugin allows assign click listeners to elements (like menu items) and make them scroll page to the specific position applying easing. The combination of these two effects is what you see in preview : )

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

fyi, i just tried out the preview in ie8 and it didn’t work. no scrolling or parallax.

flGravity

make sure browser finished loading page, because plugin init code start only when everything is loaded including images. Thanks!

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

Preview does not work in IE 9 either. I didn’t bother with 8, because “unsungzero” also stated an issue.

If you can sort this out for IE 9 , 8, and 7 I will definitely buy!

flGravity

I just uploaded new update to fancyScroll plugin and tested it in IE7 ,8 and it works fine for me. What I would recommend you is to clear browser cache, and then reload page and wait until it is completely loaded.

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

hello, if i only want to use this script for scrolling to the top – after scrolling manually down, then the “TOP” box will appear and after clicking it the website will be smoothly scrolled to the bginning (body tag) ... can you give me a short code which can be used fo it!? thank you still in advance. br newbie2004

flGravity

The purpose of my plugin is to create composed background animation when page is being scroll, but if you are interested only in “TOP” button, then first of all you need to create a long page (to have something to scroll), then activate my plugin with this code:

window.onload = function(){
    new fancyScroll({
       easingFunction: 'easeInOutCubic',
       easingTime:1200,
       topButtonText: 'Top',                        //topButton text
       topButtonClass: 'fancyscroll-topButton',     //topButton class
       topButtonShowAfter: '0px',                   //show topButton only after scrolling N pixels
       topButtonTarget: document.body,                //anchor element for topButton (DOM element or ID)
      topButtonHash: '#/',
       });
};

There is no need to create any markup. Just activate plugin and that’s all you need.

  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
5h2oom Purchased

Awesome script! Really adds an elegant feel to any site using it.. Have you noticed that its performance is a little buggy/jumpy in Safari though? Have any idea how to fix that?

flGravity

Thanks!

I didn’t notice any problems in safari. But below are some guideline how you can improve its performance.

Basically this script is already optimized for performance as it’s written in pure JS without any unnecessary code what can slow it down. You have few options, however. First of all, to make it work smoother you can try images with lower resolution. The smaller the size the faster browser will render it. This is very important to know if you have a lot of animated background images. Also you can increase easing(animation) time to give browser additional time to render images before their position will change again.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

Hi,

Firstly, thanks for script. When i added ‘active’ class on item-menu, don’t work script. How can i fix it?

My active class js:

$(function() { $(’#footer-menu a’).click(function(e) { // you usually want to prevent default for handling link clicks, // otherwise the browser follows the href (if that’s intended skip this) e.preventDefault(); });

$('#footer-menu a').not(this).removeClass('active');
    $(this).addClass('active');
});
flGravity

Hi!

Make sure you have used addScroll() method to add click handlers to the links in menu. Please read in documentation how to do this.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

Hi, i added mousewheel scroll on this plugin. When scroll horizontal, go to menu items. Ok. But i want, when get a page via scroll, add active class on that menu header.

How can i do this?

flGravity

To do this you need to write your own JS code that would add class to the menu item when you click it. This is merely a few lines of code.

Default-user
jooport Purchased

I don’t know how can i do this? Please help me.

flGravity

Do you use a menu from my example page or have own menu?

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

I have top and footer menu. Like this:

http://jsfiddle.net/Rochefort/qAsmM/

If you want more, i will setup for you.

flGravity

Here is jQuery code that works with UL list. It adds “menu-active” class to the LI element when link inside is clicked.

$('#mainmenu a').click(function(){    
    $(this).parent().addClass('menu-active').
    siblings().removeClass('menu-active');
});

replace ”#mainmenu” with any other ID of UL list. See http://jsfiddle.net/qAsmM/1/

Default-user
jooport Purchased

Yes, it’s maybe works but don’t for mousewheel. You support via email?

flGravity

yes. I do.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Runs very slow on iPhone and iPad. Is that supported?

flGravity

The code’s already optimized for best performance, however if you use a lot of high-resolution images such problem can arise.

Default-user

Ok. That’s odd. I’m just using the green boxes that came with the demo. It did get better on the iPhone and iPad when I adjusted the “easingRate”, but then Chrome (Mac) didn’t like that.

I also noticed that the navigation is a little buggy on the iPad … After clicking on “page 2” or “page 3”, I need to manually scroll to the top before the links work again. Have you noticed that? Wondering if there is anything I can do to patch that. This is just happening on the iPad, not iPhone.

Not the end of the world, but I’d like to polish it up if possible. Any insight would be great!

Thanks!

flGravity

Navigation in demo is not a part of fancyscroll plugin, you should create your own navigation and then use my plugin API to link site sections to menu items. In documentation I explain how to do this. Regarding performance I can add that this plugin mainly targets on desktop browsers rather than mobile devices with limited resources.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

Hi,

How can i use one background image on my site? For example, when click a menu item, go to content and background-image go automatic width. Like this: http://www.productivethemes.com/parallaxr/#page-1

flGravity

My plugin works a bit differently. It uses long page with sections, where every section has some content and a background. The background is animated with the plugin what makes it move faster/ slower as main content.

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

seems horizontal demo is not loading?

flGravity

Thanks! I corrected it.

  • Bought between 10 and 49 items
  • Has been a member for 0-1 years

Hi,
Is it possible to use this on one single page on a multi page site, rather than on a single page only site?
Basically I just want to use it on one page where there is a lot of content. So syncing to headings, rather than pages or posts
Thanks.
EDIT:
Sorry, just realized it’s not a plugin. The question still remains though..

flGravity

Yes it’s possible, you just need to init plugin for this page.

Default-user

Great! Is there any documentation showing how to do this?

flGravity

Yes, documentation comes with the plugin

Default-user
dbinc Purchased

Great! Bought!

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

How can i make center my fancyscroll-content?

flGravity
You can do this with following css style
.fancyscroll-content {
 width: 50%;
 left: 0;
 right: 0;
 margin: 0 auto;
}
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

I want make, load content based hashchange. Because this plugin load every page one times and slowly site… Is it possible in this plugin?

flGravity

Hello! Fancyscroll is content scroller plugin it does not load pages or content.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
jooport Purchased

How can i fix horizontal scroll for mobile/tablet?

flGravity

use low resolution images what will speed up things

by
by
by
by
by