Hi all,
coiffurestefan.be
I receive an error, but don't know what the problem is here...
Any help is appreciated.
| SitePoint Sponsor |
Hi all,
coiffurestefan.be
I receive an error, but don't know what the problem is here...
Any help is appreciated.

Hi,
What exactly is the error you're having?
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
It's in Dutch so I can't show you the screenshot.
But basically it says: this web page contains errors and may not work properly.
'effects' is empty or no object
jquery.effects.fold.min.js
Code:0
Rule:5
URI coiffurestefan/wp/wp-includes/js/jquery/ui/jquery.effects.fold.min.js?ver=3.4.2

Is this on a local page you are testing?
I've just looked at the url you provided and it looks fine.
Edit: hang on, I've found the right url: http://coiffurestefan.be/wp/. I'll have a look now.
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog

Ok, when I visit the above link in IE8 (or below) I see a whole bunch of messages telling me that jQuery is undefined.
I ran your page through the W3 validator and saw that there are a bunch of errors. Most notably at the bottom of your document you have this:
Try removing the superfluous </body> and </html> tags.HTML Code:</body> </html> <img src="http://coiffurestefan.be/wp/wp-content/uploads/2012/10/bg0011.jpg" id="fsb_image"/><!-- X --> </body> </html>
It could be the case that other browsers are clever enough to ignore them, but they are making IE choke.
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
The javascript error still persists. Please see attachment:
Do you know how to solve this?
error.jpg

Hi,
I can't see your attachment yet, as it hasn't been approved.
The when I visit the site in IE8 and open the JavScript console I now see the error:
I don't see anything resembling the error you posted previously.Code:Uncaught TypeError: Cannot set property 'fold' of undefined jquery.effects.fold.min.js, Zeile 5 Zeichen 16
I am looking at: http://coiffurestefan.be/wp/
Are we talking about the same thing?
Edit: BTW I also see this error in every other browser
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Yes it's the same error.
I don't get the error here.

What do you mean, you don't get the error here (there?)
Are you looking at the site with a console open?
Is something not happening which should be happening?
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Hi,
Yes this is a customer website. I don't see the error, but the customer is. So I don't really see what's wrong.

Hi,
The fold effect you are referencing here:
is what's causing the error.HTML Code:<script type='text/javascript' src='http://coiffurestefan.be/wp/wp-includes/js/jquery/ui/jquery.effects.fold.min.js?ver=3.4.2'></script>
The reason for this is that you haven't included jQuery UI.
If you insert this line directly after the one in which you include jQuery, the error will disappear.
HTHHTML Code:<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Hi
can you check if the problem is solved?

The error message is indeed gone, but you can check this yourself.
In Chrome, for example, press F12, click the "Console" tab and refresh the page.
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Bookmarks