jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions.

learn more… | top users | synonyms

0
votes
1answer
13 views

jQuery getting loaded twice

I'm using the jQuery Update module and decided to choose a more recent version of jQuery so in the module settings I changed it from 1.7.1 to 1.8.2 The issue I'm having is that the previous version ...
-5
votes
0answers
23 views

Page speed problem in drupal [on hold]

Hola me gustaría saber como puedo solucionar el problema de velocidad de mi web. Según el inform de de Page Speed: Quitar el JavaScript que bloquea la visualización de contenido: ...
0
votes
0answers
6 views

turn js not working in colorbox but works fine on nodes pages

I have manually integrated turn.js script in my drupal 7 website which works perfectly and converting the images in a flipping book. I did that by creating a content type added a multi value image ...
1
vote
1answer
15 views

Script Not Working

I am trying to integrate 3rd party jquery plugin Turnjs 3rd edition available on github in my website. For this I have uploaded turnjs script on my server and called it in website through my ...
0
votes
1answer
14 views

drupal_add_js settings and working around the anonymous page cache

What I'm trying to do is allow registered users to configure a few colors on public facing pages (profiles, etc.) and to do so I'm using the ColorField module and a few theme functions. My problem is ...
-1
votes
0answers
11 views

Dropdown with unfold effect [closed]

Is there a way to implement this navigation using Bootstrap (Business)? http://cssdeck.com/labs/navigation-dropdown-with-flip-effect Thanks for your support.
0
votes
0answers
6 views

Data Selector for Rules not allowing any value but site:current-user:role:

Similar to this Date Selector not showing up in Rules I'm in the rules module and trying to create a "Content is of Type" Condition. I can set the content type to check for but cannot pick anything ...
0
votes
1answer
16 views

Media module - CKEditor embed not working - jQuery is not defined

I'm trying to use the media module along with CKEditor in a Drupal7 build. I've enabled the modules, added the embed media button to the editor's toolbar and it works to a point - the image uploads, ...
0
votes
0answers
6 views

How to: JQuery Colorpicker in a form in FLAT mode

I want JQuery Colorpicker to appear in a form in a Flat mode - allow my site users pick a color of choice. So I did the following: a. installed JQuery Colorpicker field b. created a new custom module ...
0
votes
1answer
30 views

Hiding Field(s) if Date is Expired

I'm using Drupal 7 date field. Using views, when the date has expired, the page goes to a section labeled 'past events.' In the template page, the date and time are both separated for instance. ...
2
votes
1answer
68 views

How do I get a data value after all AJAX calls are complete?

I'm modifying the content of the modal window that pops up when using Linkit module in a WYSIWYG. This modal uses AJAX so I have to use Drupal.behaviors for the first time. My code is structured ...
0
votes
1answer
25 views

Click button to change CSS in D7

I'm trying to create a clickable link that changes the css using jquery. I've tried many approaches and nothing seems to work. Hopefully someone here can push me into the right direction. Button html ...
0
votes
1answer
15 views

Customisable Tabbed Content

Hi guys i'm trying to create a restaurant menu like below: I've created a 'Venues' content type, in which it contain the usual Title, Description, Image and another Taxonomy field for Category (Type ...
0
votes
0answers
41 views

drupal_add_js is removing jQuery

I have the following in my module. drupal_add_js( drupal_get_path('module', 'responsive_videos') . '/js/fluidvids.js', array( 'type' => 'file', 'scope' => 'footer', ...
-1
votes
2answers
30 views

Slider for Select List (Text, Numbers etc) in Views Exposed Filters

I am trying to implement a vertical slider-like select list inside my views-exposed-filters as shown in the image below (on the left sidebar, vertical slider) I am using Drupal 7 and Views 3. I ...
0
votes
1answer
18 views

JQuery Mobile.js for drupal 7

I'm attempting to add the functionality of jQuery's Mobile.js to allow for the vclick event. I already have a website in place. What would be the easiest way to add this functionality for an admin ...
0
votes
1answer
25 views

How to execute jQuery on body elements?

I'm screwing around with jQuery for the first time, and I'm unsure of where to add a call in Drupal to allow it to alter classes of elements within the body tag. I'm looking at utilizing something ...
0
votes
1answer
24 views

Drupal 7 form API auto submitting

I need help with making a drupal form. I've made the form and it works perfectly fine, all it does is capture the email, ip, and date and time of a user. The problem is I don't want the user to have ...
0
votes
2answers
42 views

Drupal behaviors with non-core jquery

For various reasons I am currently working on a module with a version of jQuery and jQuery UI that is not core. In other words, scripts[]=js/jquery.js scripts[]=js/jquery-ui.js are declared in the ...
-3
votes
0answers
22 views

Drupal 7 remove ligature

Drupal 7 remove ligature In a Drupal 7 website, it has ligature on. The following is the function to make the ligature. For example, it makes the "ff" in word "staff" into ligature. How to remove ...
0
votes
0answers
28 views

Why is Views not rendering any Content

Why would Views not be showing its contents, for example... Here's what I have in the source code, this is a straight view source from the browser. <div class="view view-full-bg-homepage-slider ...
0
votes
1answer
17 views

Extra handler breaks Datepicker field

Problem I have a form which a user can create data with and some of the fields are date fields which use jQuery datepicker. The form is long and in order to help the user out, I have a series of ...
0
votes
1answer
21 views

I want to navigate to particular tab on clicking of particular menu item

This is my menu This is my Media page on that I have 2 tabs for that I have used UI Tabs jQuery I'm using Drupal 7 menus i.e main menu, I want when user clicks on the News from the menu item it ...
0
votes
1answer
30 views

Drupal 6 not playing nice with jquery 1.11.1

I am trying to incorperate a sequential fadIn of several img using a simple Jquery script $(document).ready(function(){ $(".fadeInCopy").each(function(index) { ...
0
votes
1answer
31 views

Can the jQuery global $ be protected from external Javascript?

I'm working on a Drupal 6 site that uses the Regpacks signup form service, and apparently the iFrame it creates includes Javascript that redefines the $ global as a function. So any Javascript on the ...
0
votes
0answers
9 views

print commerce line items separately from order

I want to print a receipt for each line item in an order either as the order is saved. Think of each line item as a ticket and instead of printing a receipt for the order containing information about ...
0
votes
0answers
10 views

Jquery Not Executing All Parts When Using Jscroll

I am using Jscroll to implement an infinite scroll retrieved by a custom module in Drupal 7. The infinite scroll is implemented via Jscroll and works fine. The only issue is that after scrolling to ...
0
votes
0answers
18 views

Real-time preview of node/form in Drupal 7

I'm trying to achieve this in Drupal 7. This is what I need URL for working example (But its not in Drupal). Requirement - Live Preview with alignment features From Drupal.Stackexchange I've came ...
0
votes
1answer
35 views

Calling a grandparent JS function that includes jquery from a nested iFrame. D7

I'm calling the grandparent_func from a second-level nested iframe like so. This works in a non-Drupal environment, but am getting the following errors when running in drupal. (yes. I did remember to ...
0
votes
1answer
29 views

JQuery via the .info file isn't working

I'm using/experimenting with Zen on my drupal site, and have just inserted a js file named alert.js into my theme's js folder. The file has the following code: (function ($){ ...
0
votes
2answers
62 views

Disable a 'enter/return' key function in a form

I have a form in which a user needs to fill the fields. As only two fields are the required fields, so when user fills the required fields and press enter(windows)/return(mac) key the form gets ...
0
votes
1answer
22 views

JQuery hoverIntent / Drupal contrib hoverIntent module not working

I'm trying to get the jquery plugin hoverIntent to work on my Drupal 7 installation. No luck. 1st, I tried the logical approach; simply the following to the theme .info file. scripts[] = ...
-1
votes
1answer
64 views

Drupal 7 js popup [closed]

Trying to put a popup window on my drupal 7 site that hides/shows on click. Here's the popup.js file: Drupal.behaviors.my_custom_behavior = { attach: function(context, settings) { function ...
1
vote
1answer
37 views

Send mail to selected users

I want to send mail on webform submission to selected users, Suppose i'm user and admin must select users from my account that if i submit webform then how many user's can get that notifications of my ...
0
votes
2answers
59 views

Using Simple jQuery click() events in Drupal 7

I've been able to get jQuery to load and work for some basic things such as: (function ($) { console.log('jquery called'); $(document).click(function() { var h1 = $('h1').text(); ...
1
vote
1answer
38 views

jQuery slideshow behaving oddly in Drupal

I have a jQuery slideshow that worked fine when it was running in a site built with standalone PHP files, but now that I've rebuilt the site in Drupal, it has a problem. The slideshow is running in ...
0
votes
1answer
160 views

Google map in jQuery UI tabs / Drupal behaviors.js

As you can see here the google map in the first jQuery ui tab loads correctly but the same map in second / third etc tabs does not load properly or loads off centre. As mentioned here the problem is ...
0
votes
1answer
53 views

jQuery ui buttonset is not a function in Drupal 7

Like the title of this post suggests, I'm trying to add a fancy jQuery ui buttonset to my custom Drupal 7 module. But I'm getting the error message "TypeError: jQuery(...).buttonset is not a function" ...
0
votes
1answer
102 views

How to use mmenu without breaking core Overlay

How can I use mmenu jquery library without breaking core Overlay. Overlay works, but when I do a page refresh (F5) the overlay is blank. When I prevent the mmenu library from loading it works again. ...
0
votes
0answers
32 views

Using ajax in forms

I've done the next form: It has html code, and some radiobuttons. $form['diagram']= array( '#type' => 'vertical_tabs', '#default_tab' => 'edit-tab2', ...
1
vote
0answers
51 views

Ajax breaks jQuery Toggle

I use a small script that hides/shows a pane when a certain element is clicked. (function($) { Drupal.behaviors.luminary = { attach: function (context, settings) { ...
1
vote
2answers
41 views

Modify the date popup to only accept special days

I may need your help please. I have installed the "Date" module and using it with the date popup (datepicker). I need to have the popup just accepting Wednesdays and Fridays as dates. Can anybody ...
0
votes
1answer
67 views

Colorbox Iframe Resizing

I am trying to resize an colorbox containing an iframe. The following code works fine on normal sites but in Drupal it is having problems. Can anyone suggest what I am doing wrong? The colorbox is ...
0
votes
0answers
34 views

How can Draggable Views be used in columns?

I have a content type in which I would like to be able to have a 3 column layout and the user is able to drag different content (nodes/blocks) from one column to another, inline. I have almost ...
0
votes
0answers
87 views

My Views Slideshow and Form maker cant detect jquery.cycle & tinymce folders in libraries

I am trying to create a view and slideshow My Views slideshow module, and my form maker module cant detect my: 1) jquery.cycle plugin in the sites/all/libraries 2) tinymce with its extracted folder ...
0
votes
1answer
50 views

Need help with Drupal javascript behaviors

I'm a bit lost with this and could do with some help from a Drupal JS veteran. In my module I'm dynamically generating a settings form based on a CSS file, part of which provides a font select list ...
0
votes
1answer
83 views

Callback function on change event

I need to execute some functions when a field value changes. I tried both Drupal AJAX framework and classical Jquery, but in both cases the callback function is not executed. Adding a Jquery ...
0
votes
3answers
71 views

Styling views table - Toogle row class on click [closed]

I have a view which is shown as table. I would like to add a css class to entire row, once the user has clicked somewhere on the row. With views i added '.baza-pregled-strank-row' class to each row. ...
0
votes
1answer
48 views

How to prevent Drupal from scrolling to the bottom of ajax-appended content in a form

I have a custom form in Drupal. When a user first sees this form, the only thing on the page is a select box, along with a few other elements they have to fill out. When they make a selection from ...
0
votes
1answer
33 views

Is there a way to include jQuery-1.10.2 for specific php functions?

I need to include jquery-1.10.2 for a module I am building in Drupal 7. The problem is, if I include the file with drupal_add_js in the module's .inc file, it causes the admin menu to display strange ...