Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i resize, I am getting errors.. #970

Closed
ashishg656 opened this issue Jan 25, 2015 · 8 comments
Closed

When i resize, I am getting errors.. #970

ashishg656 opened this issue Jan 25, 2015 · 8 comments
Labels

Comments

@ashishg656
Copy link

i get errors when i resize the browser..
I am using firefox 35.0

If i use non-minified version,

<script type="text/javascript" src="onepagescroll/js/jquery.fullPage.js"></script>

I get the following error--

TypeError: destinyPos is undefined

1

If i use the minified version,

<script type="text/javascript" src="onepagescroll/js/jquery.fullPage.min.js"></script>

i get this error on resize---

TypeError: e is undefined

2

My Fullpage initialisation code----------------------

$(document).ready(function() {

$('#fullpage').fullpage({
            scrollBar: true,    
});

});

Help me
I am using latest version
2.5.5 of fullpage js

@alvarotrigo
Copy link
Owner

You should provide your HTML markup as well. The problem can be there.

@ashishg656
Copy link
Author

I just tried if there is error in demo file.
And yes, I am getting same error in demo file --
This is scrollBar.html (unedited)
Firefox 35.0
Latest FullPage plugin downloaded today only..

1

beacuse of this error, i am unable to use afterResize attribute of fullpage
I need to perform some tasks after resizing

please help asap as this has stopped me from any further progress :(

@alvarotrigo
Copy link
Owner

I will take a look at it tomorrow.

@ashishg656
Copy link
Author

Sure plz help me

alvarotrigo added a commit that referenced this issue Jan 26, 2015
- Improved scrollBar feature when dragging the scrollbar and using anchors
- Callbacks return now useful objects #918
@alvarotrigo
Copy link
Owner

Solved in 2.5.6.
Thanks for reporting it.

@ashishg656
Copy link
Author

Thankyou so much :)

@ashishg656
Copy link
Author

Sir in my markup, i am still getting the same error..Can you help me what to do to get error correct in my markup plz.

@alvarotrigo
Copy link
Owner

Sir in my markup, i am still getting the same error.

Then you should publish your makup or provide a link so I can take a look at it. But its probably because you are doing something wrong. The error in the demo page has disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants