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

learn more… | top users | synonyms

1
vote
1answer
8 views

How to make custom jquery method accessible from Drupal.behaviors, across multiple javascript files?

I have a custom views plugin. When the view is displayed, the javascript below gets loaded. Note the custom method, do_stuff, which gets called from within Drupal.behaviors. (function ($) { ...
0
votes
0answers
16 views

Serching for a video module for my drupal 6

I have my website building using DRUPAL 6 i am searching for a video module like http://dimsemenov.com/plugins/royal-slider/visible-nearby/ http://www.meadmiracle.com/SlidingGalleryDemo2.htm kindly ...
-1
votes
0answers
15 views

Drupal and a html with Datepicker [closed]

I am creating a calendar in a .html using JavaScript and Datepicker. I have complete the page, and when I execute it in my PC, it works, it show me the calendar. But when I copy that code into a page ...
2
votes
2answers
29 views

How to get full page width background slider

I am working on a drupal site, now my requirement is I need to slide the background images with fade effect on the home page. Is there any module to get this effect? Please suggest me if we can get ...
0
votes
1answer
21 views

Restrict direct access to a page on button click in drupal 7

I want prevent direct access on button click. I have three menu link on my home page as: HOME | ABOUT US | CONTACT US. When i click on ABOUT US or CONTACT US button directly from HOME page then it ...
0
votes
1answer
15 views

Jplayer not stop playing song [closed]

I have used a jplayer module to play mp3 in a popup. But I am getting problem, While audio is running in player and on closing the popup song still remains playing. I want to close the player playing ...
0
votes
0answers
18 views

jQuery maphilight trigger highlight from external element prevents link from working

Using Drupal jQuery Map Hilight Module on D7 Documentation: http://davidlynch.org/projects/maphilight/docs/ This is the live example: ...
0
votes
1answer
35 views

Simple dialog module and custom JavaScript not working properly. Ready function called multiple times on click

I am using the following code to convert unoredered html list into a select drop down list: jQuery(document).ready( function($) { //build dropdown - main navigation $("<select ...
0
votes
0answers
13 views

Trouble with jQuery handler function for #ajax response

I want to handle the #ajax response myself, but I'm having trouble intercepting the response before Drupal gets to it. I stole this approach from #ajax response handler function and though I love the ...
1
vote
1answer
30 views

Using Ajax-Callback with ajax_command_invoke to invoke custom jQuery command

I have a button on a form that when clicked adds an additional subsection to the form via ajax. Now I need to make it so the form automatically scrolls to the start of the newly added content. I ...
-1
votes
0answers
21 views

How to remove a class from markup in jquery in drupal 7? [closed]

<div class="row-fluid header-bottom"> <div class="navbar-inner"> <div class="container container-940"> <div class="nt-header"> <?php ...
0
votes
1answer
39 views

jQuery is not working for inserting data

I want to save data from a textbox on a button click. I am using jQuery AJAX for this task. Please note that I made this tags inside theme function. function theme_user_post_block($vars) { ...
0
votes
1answer
16 views

Trigger 'Add another term' using javascript

Is there any way to simulate the click event of 'Add another term' using javascript? I tried like this jQuery('#edit-field-attribute-und-add-more').trigger('click'); but no effect
0
votes
0answers
23 views

Addng Javascript files

Another question for you guys. Let me first explain that I am adding javascript files the way I think they are supposed to be added, by putting them in my template file using drupal_add_js. However, a ...
0
votes
1answer
39 views

jQuery gallery with imageFUpload

here's the code of kartinkin.php file: <?php $node = node_load(707); node_view($node); //$index = $_GET['index']; //dpm($node); ?> <script type="text/javascript"> ...
1
vote
1answer
20 views

How to do a “Corner Stamp” with Masonry Views?

I am building a jQuery Masonry based website, and have content listed as responsive Masonry bricks thorugh Masonry Views. I need to be able to insert a so called "Corner Stamp" (a static right ...
0
votes
0answers
21 views

Using .js maphilight module and trying to trigger a hilight from an external element

We are using the Drupal Module .js Maphilight to create an image map. I should be able to give each a unique id and then call that same id elsewhere to trigger the hilight externally (i.e. from a ...
0
votes
0answers
14 views

Modules/Methods for Faster Data Entry

I have an unlimited-cardinality text field on a node that users need to enter 50-100 values on. Right now, the user has to type in one value, click "add another item", and then click inside the text ...
2
votes
1answer
51 views

jQuery effects with exposed filters

I am trying to produce a view with exposed filters, where: The options are listed as text links, like a menu The page automatically updates when a link is clicked jQuery effects appear to seamlessly ...
0
votes
0answers
41 views

Drupal 7 - CSS not loading in IE, js error 'jQuery not defined'

CSS isn't loading in IE only. I have the css and js files compressed. Only in IE i'm getting several js errors, starting with the error 'jQuery not defined'. The website is http://pattersoneng.com
1
vote
4answers
46 views

How to get jquery working on Drupal 7 - for Newbies

I have been reading many tutorials online on how to get jquery working on drupal 7. Although there are many lines of code and examples, what i cannot find is what piece of code to put where (maybe it ...
1
vote
2answers
49 views

Moving a div down if a zone is present using jQuery

I'm trying to move a <div> down if a zone is present, but I'm having a little trouble targeting the right classes, etc. // See http://jsfiddle.net/xgbzm/. (function ($) { if ...
0
votes
1answer
34 views

Gallery Jquery Pager

I have created a "partners" block in the rightmenu of my theme .. it works perfect and all, but it shows only 6 partners (set from views settings) with newest first .. now my problem is i want to have ...
0
votes
1answer
52 views

How to open jquery dialog on menu click

I would like to open a jquery dialog that asks a question before taking the user to the desired page (ie do some page set-up before they get there). The catch here is that I would like to open the ...
0
votes
0answers
9 views

Sortable Grid Views plugin not saving

I'm using Drupal 7 and Sortable Grid View plugin Created a view and: Format: Sortable Grid Sort Criteria: Sortable Grid: Rank (asc) When i sort my items and Save button, get this text: Order Saved ...
0
votes
2answers
26 views

jQuery Draggable plugin integration with Views 3

I want draggable and sortable contents by admin. So, installed jQuery UI and put this code in my main.js: $(function() { $( ".panels-flexible-region" ).sortable({ revert: true }); ...
1
vote
1answer
36 views

Drupal 7 views admin redirecting to json returned after changing jquery version

I have installed the seven theme on the admin side and blocks theme on the user side... after getting alot of errors from multiple files adding jquery library, i have removed the extra files and ...
0
votes
1answer
22 views

Custom basic .js from theme dir prevents Splashify module from working

I am using latest Drupal 7 with latest Splashify version. Splashify (Splash in D6) is a simple module that uses jStorage js (from libraries/ dir) to add a splash/intro page for your Drupal site. So ...
0
votes
2answers
67 views

drupal webform sliding radio button

I m trying to build a form that has questions with radio button answers when someone clicks on a radio button the next question comes up and it should have a next and prev button is there any php code ...
0
votes
1answer
41 views

Using AJAX to access the content of a view drupal 7

I have a simple view with one exposed filter that displays a table view of contents.(for example nodes are some addresses with the exposed filter of the city). And I made a map for cities;I want that ...
2
votes
0answers
38 views

How to utilise RequireJS and still access Drupal(7) JS API?

I have a project set up with Drupal loading in RequireJS which has a jQuery dependency defined. All is well and good until I try something like this in a RequireJS managed module: (function($, ...
0
votes
1answer
83 views

Drupal Webform Radio button slider?

I have created a webform in Drupal. It has a pagebreak after every question. What I want to achieve is the following: When someone clicks on a radio button, the next question should slide up without ...
0
votes
0answers
38 views

jQuery animations only working in administration overlay

I have the problem that all of the jQuery animations that I have on my site do work in the administration overlay, but they do not work on the regular site. For example, Conditional Fields module ...
0
votes
0answers
26 views

Ubercart Ajax Attribute Calculations breaks custom jQuery

I am using custom jQuery on product node to hide and show some text fields. However when I enable AAC, custom jQuery doesn't work. Here's the same thread on Drupal.org http://drupal.org/node/1306530 ...
0
votes
0answers
28 views

How to manually create links to change focus on horizontal tab items?

I have a horizontal tab group with a few horizontal tab items. I want to create a text link that allows users to move through the tabs instead of clicking on the horizontal tabs themselves. I ...
0
votes
1answer
108 views

Unable to upload files. Though the maximum file size limit is 80 MB, can't upload even 50 kb files

I copied a site from localhost to AWS server. I can easily upload files in localhost but when I try uploading in the live site it gives me the error "An unrecoverable error occurred. The uploaded ...
0
votes
0answers
171 views

TypeError: $(…).on is not a function $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)

I have installed a module to use less, so i installed a module less css preprocessor. After enabling this module when i reload my home page i am getting an error and cant able to write any less, ...
0
votes
1answer
62 views

Having trouble adding a custom js file to my Drupal 7 site

I added a javascript file to my site in the theme's .info file scripts[] = js/myjs.js The js file loads and I can see that it's included in the head when I load the site, however the jQuery ...
0
votes
2answers
95 views

how to call a JQuery function inside an ajax callback function

I have a custom module, this module has a form with an ajax submit callback $form['submit'] = array( '#type' => 'submit', '#ajax' => array( 'callback' => ...
0
votes
1answer
27 views

jQuery only effecting first node in slideshow

I have applied a jQuery plugin [textfill][1] to certain elements within my a view and a view-slideshow. I have locally linked the relevant .js file via the .info file. In the view-slideshow the ...
0
votes
1answer
45 views

How can I execute jQuery within a *Basic page* content type node?

I would like to run some jquery within a Basic page content type node and the only place that I can place this code is within the Body section when within the Edit Basic page. After placing the ...
0
votes
0answers
33 views

How to use this code in my Drupal site? [duplicate]

I recently created a code where I used jquery, css, html, php and javascript. The code is as follows: <title>jQuery Hover Effect <script type='text/javascript' ...
0
votes
0answers
65 views

Drupal How to add java script to ctools modal popup

I need to hide some element with some condition using jquery inside ctools modal popup in drupal after popup load. I used drupal_add_js but that not work. Any suggestion?
0
votes
0answers
157 views

views slideshow jQuery Cycle Custom Options how to use?

I display a view using slideshow format. To slide images I use controls only. After installing json2.js library I can add additional options displayed here http://malsup.com/jquery/cycle/options.html ...
0
votes
1answer
28 views

Is it necessary to “activate” a file input field after a jQuery insertion?

I've got a Bootstrap modal that I use to present a form through which I can create and edit an node on my site. This object has an uploaded file associated with it, so things work in the usual way: ...
0
votes
1answer
24 views

How do I put this custom CSS and JavaScript into a certain block?

I'm having a hard time getting this: http://dev.chrisruno.com/sahshe/quiz/ To go into a block in this node: http://sahshe.chrisruno.com/?q=node/22# I've successfully included the two Javascript files ...
0
votes
0answers
26 views

Reuse Drupal behaviors

After writing a lot of duplicate js code in Drupal through the years i think its time to ask a question about this. Imagine this simple beahvior that submits a form onChange of a select element ...
0
votes
0answers
20 views

Drupal 6 theme individual mini pagers

I was able to theme the mini pager by taking pieces of the code from views module file and adding in some useful php to manipulate it. problem is that i need to individualize the setting so i dont ...
0
votes
1answer
13 views

Date Calender Starting Date of Field B should be equals to or advanced from the Ending Date of Field A

I have created a form using webfrom module. The form contains Arrival Date and Leaving Date. I want Leaving date should either be same as Arrival date or higher than that.
1
vote
1answer
78 views

Jquery Colorpicker Set color

I am using Jquery Colorpicker for some reasons i need to set change the values of the fields directly from javascript. I found this function HERE in the plug in website ...

1 2 3 4 5 9