Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-24-2012, 08:15 PM   PM User | #1
fineartist99
New Coder

 
Join Date: Jul 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
fineartist99 is an unknown quantity at this point
Problem with jQuery.easing

I saw this site I really like and wanted to use a feature from it. I grabbed all of the code and the files that were needed to reproduce the feature. It works fine the 1st time you use it (if you can click the link promotions before the page loads fully) Let me know what you think could be causing this malfunction.

This is the error in the error consul
jquery.easing.1.3.js:46TypeError: 'undefined' is not a function (evaluating 'jQuery.easing[jQuery.easing.def](x, t, b, c, d)')

You can see my version here and the original here

Now if anyone knows any other way to incorporate this feature within a website I'm all ears. Please please please, any help is greatly appreciated.

To download all of the files that make up this test site click here it's 7.8MB.

Thank you to anyone that can help.
fineartist99 is offline   Reply With Quote
Old 09-24-2012, 08:23 PM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
your page appears to be already loading a much newer version of jquery. simply remove the reference the the jQuery library file you added, and that alone may very well fix it.
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Users who have thanked DanInMa for this post:
fineartist99 (09-24-2012)
Old 09-24-2012, 08:29 PM   PM User | #3
fineartist99
New Coder

 
Join Date: Jul 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
fineartist99 is an unknown quantity at this point
by golly that f-in worked! I spent the last 3 hours trying to figure this out. Thank you so much!

I removed this line

<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>

and it works fine now - here's a index2.html page to see

Now how do I close this thread?
fineartist99 is offline   Reply With Quote
Old 09-24-2012, 09:38 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,587
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Quote:
Originally Posted by fineartist99 View Post
Now how do I close this thread?
You don’t. You can set it to “resolved” by editing the first post and choosing “Resolved” from the select next to the title.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 09-24-2012, 09:56 PM   PM User | #5
fineartist99
New Coder

 
Join Date: Jul 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
fineartist99 is an unknown quantity at this point
Actually, this thread has to stay open!!!

I went a step further in developing and that easing effect needs to be included and that's what's breaking this feature from happening correctly.

Check out the page now. You can click the "click to read more and see work" link and the other window comes in, you can x it out but hit that "click to read more and see work" link one more time, the window opens and now you cannot do anything.

Again all of the files that make up this test site you can grab here. And if you'd like to just download the jquery.main.js files (one where I removed the easing effect thus breaking the site entirely) you can grab those files here.

Any help would be greatly appreciated. Thank you ahead of time.
fineartist99 is offline   Reply With Quote
Old 09-24-2012, 11:54 PM   PM User | #6
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
Quote:
Originally Posted by fineartist99 View Post
by golly that f-in worked! I spent the last 3 hours trying to figure this out. Thank you so much!

I removed this line

<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>

and it works fine now - here's a index2.html page to see

Now how do I close this thread?
you had jquery.1.3.2.min.js on there as well, thats the wone you needed to remove ( i might be slightly off on what version you had) but the easing script can stay
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 09-25-2012, 02:20 PM   PM User | #7
fineartist99
New Coder

 
Join Date: Jul 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
fineartist99 is an unknown quantity at this point
I am not seeing jquery.1.3.2.min.js in any of my files. Also I just realized that after opening and closing the promotions link more than once on the fixed page - it actually doesn't work as it should. Try it for yourself.

Here's a quote from above from entry 09-24-2012, 03:29 PM-
Quote:
I removed this line

<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>

and it works fine now - here's a index2.html page to see
Thanks in advanced to anyone that can help.
fineartist99 is offline   Reply With Quote
Old 09-25-2012, 03:17 PM   PM User | #8
fineartist99
New Coder

 
Join Date: Jul 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
fineartist99 is an unknown quantity at this point
never mind, I removed the easing from the file jquery.main.js and it's working without any additional page on the test site and it seems to be working fine - you can see it live here

I will try to get the other page working where there's more than one section on the test site.
fineartist99 is offline   Reply With Quote
Reply

Bookmarks

Tags
easing, error, javascript, jquery

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:35 AM.


Advertisement
Log in to turn off these ads.