This has taken me days already maybe weeks, I lost count.
Been through many internet pages, examples etc.
Posted a issue perhaps on the wrong place.

Problem is when I am logged on the jquery works, when logged of is doesn't

I have my own piece of code and in my eyes appears right and...
I also have one that I found on internet, working PERFECT!
This one I found works while logged on and also when a anonymous user visits the site.

I have a hard time to understand on how to place the scripts.
But this is what I came up with.

This is a small part of template.php

function verhuur_preprocess_html(&$variables) {
  $theme_path = path_to_theme();
  $url = request_uri();
  if ($url == '/gamma/') {
    drupal_add_js($theme_path . '/js/test.js');
  }
}

Then I assume since the code I found works both ways this part would be ok.

Then here is my own piece of code. Differs not much from the code below.
I am almost done with everything, just need a understanding of how to implement this.
And if I can get this going the rest would be ok.

Thanks in advance

my code

(function ($) {
    Drupal.behaviors.myCustomJS = {
        attach: function (context, settings) {
            $('#block-block-1').click(function () {
                $('#block-block-1').animate({left: "200px"},1000);
            });
        }
    };
})(jQuery);

The code that works that I found.

(function ($) {
  Drupal.behaviors.myCustomJS = {
    attach: function(context, settings) {
 
      $('#block-block-1').click(function(){
        $('#block-block-1').slideToggle();
      });
    }
  };
})(jQuery);

PS the code is not in a module or anything and I am not that much deep in programming and so on....

Comments

nevets’s picture

Most browsers have a javascript console, with Firefox I use firebug.

If you open up the console and reload the page are there any errors?

Kiero-1’s picture

I am not familiar with firebug but I get this error

reference to undefined property p.valHooks[this]

and on the fold screen
After selecting all alerts
I see something about jquery.min.js line 2?
But this is a downloaded librarie

nevets’s picture

There error explains why things are not working, once you hit an error javascript stops processing the javascript files.
Given this line

$('#block-block-1').animate({left: "200px"},1000);

is the likely source of the error, it makes sense that it would point to jquery.min.js since animate() is a jquery function. There should be an additional error line that would help point to what is undefined. The fact the toggle call works and animate one does not suggests something is wrong with the call but I not not see a problem. You could try single quotes instead of double quotes.

Kiero-1’s picture

What can this be?
Forgetting something?

This realy starts to annoy :S

jaypan’s picture

Are you including jQuery somewhere in your page that you're not showing us? If you are, you shouldn't, Drupal already includes it, and including it twice causes errors like you are seeing.

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

The site I am working is nearly finished and I want to add some dynamic.
So this test is just in Bartik

I implemented this code in template.php

function verhuur_preprocess_page(&$vars) {
  // Only include page.js on the front page
  if ($vars['is_front']) {
    drupal_add_js(path_to_theme().'/js/test.js','file');
  }
}

And I made 2 blocks with test and a map added /js and have test.js in there with this script

(function ($) {
    Drupal.behaviors.myCustomJS = {
        attach: function (context, settings) {
            $('#block-block-1').click(function () {
                $(this).animate({left: '200px'},1000);
            });
        }
    };
})(jQuery);
jaypan’s picture

Try changing that to this:

(function ($) {
    Drupal.behaviors.myCustomJS = {
        attach: function (context, settings) {
            $('#block-block-1').click(function () {
                $(this).animate({left: '200px'},1000);
            });
        }
    };
}(jQuery));

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

Problem remains cleared all caches etc.
Is animate() not possible to use?

I think this way drupal is rather implicated.
The time that I have been trying to get something like this working :S

What suggestions can I try more?

If I would start over with a basic theme like bartik? what are the steps necesary to have this animate() thing work?
Just as simple as that. Because right now I have amost every module disabled except jquery update, views, superfish, token and advanced help?

Might there be a conflict or is the code just bad?

jaypan’s picture

Well, you didn't answer my last question about whether you are including jQuery somewhere on your page.

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

I thought to have answered that by saying I made only those changes to the entire bartik theme.
I am unaware of calling any jQuery anywhere besides what I made myself.

But I double checked all templates etc. I see nowhere that a js is called.

comes to mind that the toggle() still works so wouldn't that conflict too?

I appriciate any help given thanks for all replies already.

jaypan’s picture

Let's recap then. You have only added that javascript. It's not working, right? What do you mean by 'not working' - do you click the link and nothing happens? Does something else happen? And do you have any errors in your js console?

You may also want to try rewriting your call to .animate():
$(this).animate({left:200},{duration:1000});

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

The code is working as long as I am logged on and have kept working while logged on with all the changes mentioned.
When I click the block moves 200 px. When I log out nothing happens.
If I run this code through fiddle it says no errors.

I also tried your code mentioned and the problem is still the same, working when logged on, not working when logged off

nevets’s picture

When not logged in does javascript console show any errors, if yes, that is the likely source of your problem.

jaypan’s picture

Sorry, I missed your original comment that it worked when logged in and not when logged out. I've been working at the wrong thing the whole time. I thought there was some problem in the code, but if it works when you are logged in, then the code itself is fine.

How are you adding this code? I'm thinking that may be an issue. And the following code as the first line of the script to see if the script is even being loaded:

alert("script is loaded");
(function($){
// etc

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

Yes the script is loaded if I put that in front of the function
Bot ways logged on and off that is.

But the script that needs working only works while logged on

jaypan’s picture

And what does the javascript console say when you are logged out?

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

I am not familiar with the javascript console everyone is mentioning

jaypan’s picture

Every major browser except firefox has a javascript (error) console. For firefox you can install the Firebug plugin. This will show you any javascript errors. Google your browser + "javascript console" for more information.

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

Not that you think I dropped this case :)
Been kinda bussy.

Kiero-1’s picture

When I use chrome browser java console. Tho very new to this debugging.
This is the first difference found.

And I load it while logged on.
Then when I open network tab I see all pages loaded
status 200 OK

and if logged out and reload then. That can't be right I think.
status 304 not modified

Kiero-1’s picture

When I have the console opend.
I have reloaded the page on errors, warnings, logs, all and nothing came to view in the console

Kiero-1’s picture

This is the warning output on firebug. I have no clue
Perhaps I should not post that here but getting rather desperate about this small code, not knowing what is wrong with it.

detailed error: ReferenceError: reference to undefined property this.context.stopped
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/js/scriptPanel.js

scriptPanel.js (regel 941)

Gebruik van Mutation Events wordt niet meer ondersteund. Gebruik in plaats daarvan MutationObserver.
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/chrome/tabContext.js

tabContext.js (regel 589)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 3px;

system...?mmymjk (regel 233, kol 20)

Onbekende eigenschap ‘zoom’. Declaratie genegeerd.

zoom: 1; /* IE7 */

system...?mmymjk (regel 30, kol 6)

Onbekende eigenschap ‘box-sizing’. Declaratie genegeerd.

box-sizing: border-box;

system...?mmymjk (regel 74, kol 12)

Fout tijdens het parsen van waarde voor ‘background-image’. Declaratie genegeerd.

background-image: -ms-linear-gradient(top, #0779bf 0%, #48a9e4 100%);

colors.css?mmymjk (regel 27, kol 20)

Fout tijdens het parsen van waarde voor ‘background-image’. Declaratie genegeerd.

background-image: -o-linear-gradient(top, #0779bf 0%, #48a9e4 100%);

colors.css?mmymjk (regel 28, kol 20)

Fout tijdens het parsen van waarde voor ‘background-image’. Declaratie genegeerd.

background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, ...

colors.css?mmymjk (regel 29, kol 20)

Fout tijdens het parsen van waarde voor ‘background-image’. Declaratie genegeerd.

background-image: -webkit-linear-gradient(top, #0779bf 0%, #48a9e4 100%);

colors.css?mmymjk (regel 30, kol 20)

‘top’ gevonden waar kleur verwacht. Fout tijdens het parsen van waarde voor ‘background-image’. Declaratie genegeerd.

background-image: linear-gradient(top, #0779bf 0%, #48a9e4 100%);

colors.css?mmymjk (regel 31, kol 36)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 5px;

style.css?mmymjk (regel 89, kol 20)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 0 0 10px 10px;

style.css?mmymjk (regel 283, kol 20)

Onbekende eigenschap ‘-moz-border-radius-topleft’. Declaratie genegeerd.

-moz-border-radius-topleft: 8px;

style.css?mmymjk (regel 485, kol 28)

Onbekende eigenschap ‘-moz-border-radius-topright’. Declaratie genegeerd.

-moz-border-radius-topright: 8px;

style.css?mmymjk (regel 486, kol 29)

Onbekende eigenschap ‘-moz-border-radius-topleft’. Declaratie genegeerd.

-moz-border-radius-topleft: 6px;

style.css?mmymjk (regel 986, kol 28)

Onbekende eigenschap ‘-moz-border-radius-topright’. Declaratie genegeerd.

-moz-border-radius-topright: 6px;

style.css?mmymjk (regel 990, kol 29)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 5px;

style.css?mmymjk (regel 1017, kol 20)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 20px;

style.css?mmymjk (regel 1104, kol 20)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 4px;

style.css?mmymjk (regel 1128, kol 20)

Onbekende eigenschap ‘-moz-border-radius-topright’. Declaratie genegeerd.

-moz-border-radius-topright: 0;

style.css?mmymjk (regel 1143, kol 29)

Onbekende eigenschap ‘-moz-border-radius-topleft’. Declaratie genegeerd.

-moz-border-radius-topleft: 0;

style.css?mmymjk (regel 1144, kol 28)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 0;

style.css?mmymjk (regel 1166, kol 20)

Onbekende eigenschap ‘-moz-border-radius-topleft’. Declaratie genegeerd.

-moz-border-radius-topleft: 4px;

style.css?mmymjk (regel 1187, kol 28)

Onbekende eigenschap ‘-moz-border-radius-topright’. Declaratie genegeerd.

-moz-border-radius-topright: 4px;

style.css?mmymjk (regel 1191, kol 29)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 4px;

style.css?mmymjk (regel 1197, kol 20)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 4px;

style.css?mmymjk (regel 1268, kol 20)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 4px;

style.css?mmymjk (regel 1275, kol 20)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 4px;

style.css?mmymjk (regel 1282, kol 20)

Onbekende eigenschap ‘-moz-border-radius-topleft’. Declaratie genegeerd.

-moz-border-radius-topleft: 4px;

style.css?mmymjk (regel 1290, kol 28)

Onbekende eigenschap ‘-moz-border-radius-topright’. Declaratie genegeerd.

-moz-border-radius-topright: 4px;

style.css?mmymjk (regel 1291, kol 29)

Onbekende eigenschap ‘-moz-border-radius-bottomleft’. Declaratie genegeerd.

-moz-border-radius-bottomleft: 4px;

style.css?mmymjk (regel 1301, kol 31)

Onbekende eigenschap ‘-moz-border-radius-bottomright’. Declaratie genegeerd.

-moz-border-radius-bottomright: 4px;

style.css?mmymjk (regel 1302, kol 32)

Onbekende eigenschap ‘-moz-border-radius’. Declaratie genegeerd.

-moz-border-radius: 4px;

style.css?mmymjk (regel 1347, kol 20)

Onbekende eigenschap ‘-moz-border-radius-topleft’. Declaratie genegeerd.

-moz-border-radius-topleft: 4px;

style.css?mmymjk (regel 1393, kol 28)

Onbekende eigenschap ‘-moz-border-radius-topright’. Declaratie genegeerd.

-moz-border-radius-topright: 4px;

style.css?mmymjk (regel 1394, kol 29)

TypeError: function cC does not always return a value
[Afbreken op deze fout]

...h}if(g)return g!==j[0]&&j.unshift(g),d[g]}function cD(a,b){var c,d,e,f,g=a.dataT...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: function cL does not always return a value
[Afbreken op deze fout]

...ry{return new a.XMLHttpRequest}catch(b){}}function cM(){try{return new a.ActiveX...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: function cM does not always return a value
[Afbreken op deze fout]

...veXObject("Microsoft.XMLHTTP")}catch(b){}}function cU(){return setTimeout(functi...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...n;if(!e.body)return setTimeout(p.ready,1);p.isReady=!0;if(a!==!0&&--p.readyWait>...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...p.isReady=!0;if(a!==!0&&--p.readyWait>0)return;d.resolveWith(e,[p]),p.fn.trigger...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...igger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...eturn "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||t...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: function g does not always return a value
[Afbreken op deze fout]

...tch(a){return setTimeout(g,50)}p.ready()}}()}}return d.promise(b)},p.each("Boole...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acce...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1))},...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"re...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.eac...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...|c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:fun...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...tribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowe...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...f(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

....setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return L&&p...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...a,"button"))return L.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readon...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...(c==="")return a.setAttribute(b,"auto"),c}})}),p.attrHooks.contenteditable={get:...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...turn a.checked=p.inArray(p(a).val(),b)>=0}})});var V=/^(?:textarea|input|select)...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...s](),p.event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p....

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p.event.f...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...Dispatch&&t.postDispatch.call(this,c),c.result},props:"attrChange attrName relat...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

....expando]=!0;else return new p.Event(a,b)},p.Event.prototype={preventDefault:fun...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...=!0}),p._data(d,"_submit_attached",!0))})},postDispatch:function(a){a._submit_bu...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...)return!1;p.event.remove(this,"._submit")}}),p.support.changeBubbles||(p.event.s...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...!0)}),p._data(b,"_change_attached",!0))})},handle:function(a){var b=a.target;if(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...a.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.re...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...0])return p.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f|...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...ength)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c....

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...urn b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:f...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)r...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...set=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(a){return a.length>1?func...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

....length,j=b!=null;for(;h

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...l,[],h,i),j=l.length;while(j--)if(k=l[j])r[n[j]]=!(q[n[j]]=k)}if(f){j=a&&r.lengt...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...}if(f){j=a&&r.length;while(j--)if(k=r[j])f[m[j]]=!(g[m[j]]=k)}else r=bk(r===g?r....

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...;for(;i

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

....relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.tes...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

..."),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");i...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=fun...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...entById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElemen...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...etAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getEl...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...Name!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTa...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...Name!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b....

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...=n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",firs...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...rn null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf("...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...y":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="firs...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...n!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseud...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...ull,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...b

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...b

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))retu...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...k(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...;c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ntNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.node...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ar c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeigh...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d)...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...er");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.c...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...T,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?c...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...unction(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.po...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...urn bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr....

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowe...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ld)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function()...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...nge=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...0},k=this[0],l=k&&k.ownerDocument;if(!l)return;return(d=l.body)===k?p.offset.bod...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...lLeft,{top:j.top+h-f,left:j.left+i-g}):j)},p.offset={bodyOffset:function(a){var ...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...)||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.m...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...rollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each(...

jquery...v=1.8.2 (regel 2, kol 60)

ReferenceError: reference to undefined property p.valHooks[this]
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
TypeError: variable args redeclares argument
[Afbreken op deze fout]

var args = args || {};

drupal.js?mmymjk (regel 254, kol 6)

Onbekende eigenschap ‘frameborder’. Declaratie genegeerd.

width:100%;frameborder:0;height:100%;margin-bottom:-3px;

Onbekende eigenschap ‘box-sizing’. Declaratie genegeerd.

box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;p...

jquery...v=1.8.2 (regel 2, kol 10)

ReferenceError: reference to undefined property a[h]
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property p.event.triggered
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property a[p.expando]
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
Gebruik van Mutation Events wordt niet meer ondersteund. Gebruik in plaats daarvan MutationObserver.
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/chrome/tabContext.js

tabContext.js (regel 589)

TypeError: function cC does not always return a value
[Afbreken op deze fout]

...h}if(g)return g!==j[0]&&j.unshift(g),d[g]}function cD(a,b){var c,d,e,f,g=a.dataT...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: function cL does not always return a value
[Afbreken op deze fout]

...ry{return new a.XMLHttpRequest}catch(b){}}function cM(){try{return new a.ActiveX...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: function cM does not always return a value
[Afbreken op deze fout]

...veXObject("Microsoft.XMLHTTP")}catch(b){}}function cU(){return setTimeout(functi...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...n;if(!e.body)return setTimeout(p.ready,1);p.isReady=!0;if(a!==!0&&--p.readyWait>...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...p.isReady=!0;if(a!==!0&&--p.readyWait>0)return;d.resolveWith(e,[p]),p.fn.trigger...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...igger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...eturn "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||t...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: function g does not always return a value
[Afbreken op deze fout]

...tch(a){return setTimeout(g,50)}p.ready()}}()}}return d.promise(b)},p.each("Boole...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acce...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1))},...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"re...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.eac...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...|c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:fun...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...tribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowe...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...f(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

....setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return L&&p...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...a,"button"))return L.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readon...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...(c==="")return a.setAttribute(b,"auto"),c}})}),p.attrHooks.contenteditable={get:...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...turn a.checked=p.inArray(p(a).val(),b)>=0}})});var V=/^(?:textarea|input|select)...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...s](),p.event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p....

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p.event.f...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...Dispatch&&t.postDispatch.call(this,c),c.result},props:"attrChange attrName relat...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

....expando]=!0;else return new p.Event(a,b)},p.Event.prototype={preventDefault:fun...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...=!0}),p._data(d,"_submit_attached",!0))})},postDispatch:function(a){a._submit_bu...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...)return!1;p.event.remove(this,"._submit")}}),p.support.changeBubbles||(p.event.s...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...!0)}),p._data(b,"_change_attached",!0))})},handle:function(a){var b=a.target;if(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...a.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.re...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...0])return p.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f|...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...ength)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c....

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...urn b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:f...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)r...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...set=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(a){return a.length>1?func...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

....length,j=b!=null;for(;h

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...l,[],h,i),j=l.length;while(j--)if(k=l[j])r[n[j]]=!(q[n[j]]=k)}if(f){j=a&&r.lengt...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...}if(f){j=a&&r.length;while(j--)if(k=r[j])f[m[j]]=!(g[m[j]]=k)}else r=bk(r===g?r....

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...;for(;i

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

....relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.tes...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

..."),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");i...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=fun...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...entById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElemen...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...etAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getEl...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...Name!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTa...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...Name!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b....

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...=n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",firs...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...rn null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf("...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...y":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="firs...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...n!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseud...

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...ull,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...b

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...b

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))retu...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...k(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...;c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ntNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.node...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ar c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeigh...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d)...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...er");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.c...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...T,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?c...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...unction(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.po...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...urn bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr....

jquery...v=1.8.2 (regel 2, kol 60)

SyntaxError: test for equality (==) mistyped as assignment (=)?
[Afbreken op deze fout]

...if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowe...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...ld)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function()...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...nge=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...0},k=this[0],l=k&&k.ownerDocument;if(!l)return;return(d=l.body)===k?p.offset.bod...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...lLeft,{top:j.top+h-f,left:j.left+i-g}):j)},p.offset={bodyOffset:function(a){var ...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...)||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.m...

jquery...v=1.8.2 (regel 2, kol 60)

TypeError: anonymous function does not always return a value
[Afbreken op deze fout]

...rollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each(...

jquery...v=1.8.2 (regel 2, kol 60)

ReferenceError: reference to undefined property p.valHooks[this]
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
TypeError: variable args redeclares argument
[Afbreken op deze fout]

var args = args || {};

drupal.js?mmymjk (regel 254, kol 6)

The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.
Onbekende eigenschap ‘box-sizing’. Declaratie genegeerd.

box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;p...

jquery...v=1.8.2 (regel 2, kol 10)

ReferenceError: reference to undefined property (intermediate value).top
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property p.event.triggered
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property a[h]
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property a[p.expando]
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property p.event.triggered
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property a.returnValue
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property j.opts.easing
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property j.opts.start
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property c.result
[Afbreken op deze fout]

...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er...

jquery...v=1.8.2 (regel 2)
ReferenceError: reference to undefined property state.pathIndex
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/dom/domPanel.js

domPanel.js (regel 1316)

ReferenceError: reference to undefined property Wrapper.ignoreVars[name]
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/lib/wrapper.js

wrapper.js (regel 118)

ReferenceError: reference to undefined property Dom.domInlineEventHandlersMap[name]
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/lib/dom.js

dom.js (regel 851)

ReferenceError: reference to undefined property obj.constructor.name
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/lib/object.js

object.js (regel 167)

ReferenceError: reference to undefined property object.constructor.name
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/chrome/reps.js

reps.js (regel 3181)

ReferenceError: reference to undefined property this.context
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/lib/domplate.js

domplate.js (regel 620)

ReferenceError: reference to undefined property member.scopeNameTooltip
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/dom/domPanel.js

domPanel.js (regel 147)

TypeError: function onxblpopupshowing does not always return a value
[Afbreken op deze fout]

return false;

bindings.xml (regel 865, kol 23)

TypeError: function onxblpopupshowing does not always return a value
[Afbreken op deze fout]

return false;

bindings.xml (regel 895, kol 23)

TypeError: function onxblpopupshowing does not always return a value
[Afbreken op deze fout]

return true;

bindings.xml (regel 897, kol 19)

ReferenceError: reference to undefined property this.saveTimeout
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/editor/editor.js

editor.js (regel 137)

ReferenceError: reference to undefined property this.onInput
[Afbreken op deze fout]

Filtered chrome url chrome://firebug/content/editor/editor.js

editor.js (regel 432)

Toetsgebeurtenis niet beschikbaar op sommige toetsenbordindelingen: key=“b” modifiers=“accel,alt”
Toetsgebeurtenis niet beschikbaar op sommige toetsenbordindelingen: key=“b” modifiers=“accel shift alt”

jaypan’s picture

You need to filter that down to javascript only errors, and not all the CSS as well. Too much information.

That said, I notice this a lot:

jquery...v=1.8.2 (regel 2, kol 60)

The jQuery that ships with Drupal is not version 1.8.2, so I suspect, as I mentioned quite a few posts ago, that you are adding jQuery to the site, which is conflicting with the jQuery that ships with core. This is probably happening somewhere that only affects anonymous users, which is why you are only seeing the error with anonymous users. Try to find out where you are including this script, as you shouldn't be.

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

I disabled all modules that were added.
I have no more extra libraries installed

I am using a simple bartik base theme and like mentioned before.
I only added this in template.php

function verhuur_preprocess_page(&$vars) {
  // Only include page.js on the front page
  if ($vars['is_front']) {
    drupal_add_js(path_to_theme().'/js/test.js','file');
  }
}

and this script in js/test.js

alert("script is loaded");
(function ($) {
    Drupal.behaviors.myCustomJS = {
        attach: function (context, settings) {
            $('#block-block-1').click(function () {
                $(this).animate({left:200},{duration:1000});
            });
        }
    };
}(jQuery));
jaypan’s picture

You need to figure out how/where jQuery 1.8.2 is being loaded.

Contact me to contract me for D7 -> D10/11 migrations.

jaypan’s picture

Alright, I've had a look at your code, and I see the problem... and there is no problem. The animation actually works, But you are animating 'left', and the element in question is not position:fixed|relative|absolute. Without one of these attributes, 'left' does nothing. So as I say, the animation is actually working, but as the attribute you are animating has no effect, there is nothing to see. You need to animate left-margin or left-padding.

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

Finally its working!
What a mistake! Just CSS

Thanks again! I can proceed with my work now.

jaypan’s picture

You can also look at these examples on how to add JS to a single page. Using hook_preprocess_html() is not the best way to do it:

http://drupal.org/node/1993228#comment-7418276

Contact me to contract me for D7 -> D10/11 migrations.

Kiero-1’s picture

Still the same I have now this prepocess on top of template.php

But the problem seems to be appearing to my script, and not in the add_js?
If the problem is in the template then I wonder why the toggle() script is working?

function verhuur_preprocess_page(&$vars) {
  // Only include page.js on the front page
  if ($vars['is_front']) {
    drupal_add_js(path_to_theme().'/js/test.js','file');
  }
}