I am using Drupal 7.0 with Layout Studio 7x 1.7 (although have also tested with 1.5 and 1.6).

I have created a sub theme and I created a block view with views slideshow (7.3x dev). As a point of note this issue also occurs with views accordion (7.1x dev), Nice Menus (7.2 beta) and a custom js function on the search box in isolation.

For some reason when any of these are enabled the javascript stops working and in firebug I see this error:

jQuery.support is undefined
[Break On This Error] if (jQuery.support.positionFixed === undefined) {

I tried switching themes and tested all of the core themes one by one and all work fine with no error.

That was the extent of my troubleshooting as I wasn't really sure where to look next




karensmallwood’s picture

Sorry I forgot to add.

When LABjs module is enabled 7.1rc1 the js works just fine (although there are some conflicts).

In firebug it throws up this error:

Firebug's log limit has been reached. 0 entries not shown. Preferences
$LAB is not defined
[Break On This Error] $LAB.queue(function() {

bmx269’s picture

We have used views slideshow with LayoutStudio and not had any issues. We will look into this.

birdonwire’s picture

i had the same problem,
i opened drupal.js and commented it

 /* if (jQuery.support.positionFixed === undefined) {
    var el = $('<div style="position:fixed; top:10px" />').appendTo(document.body);
    jQuery.support.positionFixed = el[0].offsetTop === 10;

and everything goes fine, i hope it doesn't affect anything else in the future

Summit’s picture

Subscribing, greetings, Martijn

rhache’s picture

Assigned: Unassigned » Sarenc


I'm having issues with this, partly because I can't seem to get Views Slideshow working with the new Views UI. Could you test and let me know.


rjay’s picture

I was able to succesfully test this with LayoutStudio 7.x-1.x-dev, Views 7.x-3.0-beta3 and Views Slideshow 7.x-3.0-alpha1 (which was released after the original post was made).

I used Devel Generate to generate some content, then created a slideshow in a block which I displayed in the primary region on the front page. I installed the jQuery Cycle plugin as indicated by Views Slideshow, and left the slideshow settings at their default values.

(On a side note, I did not have any serious problems with Views Slideshow in the new Views UI. There was one notice being output when I first enabled Views Slideshow, but once I installed jQuery Cycle it went away and I had no further issues.)

When I viewed my front page the slideshow started cycling immediately and I did not see any javascript errors. For those who were experiencing the issue in the original post, did you take any steps that were different than what I described above? If so, can you provide more specific steps to replicate this issue consistently? Are any of you using a different version of jQuery than the one that comes with Drupal core?