Tagged Questions
0
votes
1answer
83 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
50 views
jQuery functionality lost from some modules after migrating to new host
My site was running good until recently. Suddenly none of the modules were able to use jQuery on the site. I came to know about this when I logged in as admin and my Nodequeues were not working.
The ...
0
votes
2answers
124 views
Problem with jquery or jquery ui (animating color)
I have found a jquery code which animates colors. I made a fiddle from it (after minor change), and it's working perfectly on jsfiddle:
http://jsfiddle.net/kFuzp/
Unfortunately, it's not working on ...
0
votes
1answer
208 views
Views Accordion not working when other Jquery plugins are used
I am having problem with Views Accordion when I am using Views Accordion and the Isotope Jquery plugin both on same page.
Isotope Jquery plugin seems to be working fine, but the Views Accordion looks ...
0
votes
2answers
304 views
How to use ajax_command_invoke() with an argument that's a JavaScript object?
I'd like to use ajax_command_invoke() to enable jQuery UI Droppable when returning from an AJAX request.
If I run the following command from the JavaScript console, jQuery UI Droppable is properly ...
2
votes
0answers
113 views
total sum of textfield values of field collection(with unlimited values) in another field out of field collection in same form
I am creating a form. it has a field collection. it has a field age in field collection that can be filled unlimited times in single form. I want to add the total of those field values(age) in another ...
0
votes
2answers
241 views
How to create popup for email link with major email provider links?
Check out this new feature craigslist implemented. WHen you click on this button (like in the link below) that says "reply to this post", it pops up with this popup that shows the different email ...
1
vote
1answer
1k views
Adding jQuery to Drupal 7 site: drupal_add_js() adds but doesn't call?
I'm using jQuery accordion effects to display some information. I include the libraries:
drupal_add_js('http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', file);
...
0
votes
0answers
294 views
$.widget is not function, error comes while creating tabs in node.tpl.php [closed]
I am creating Jquery UI tabs on node.tpl file.
All the required files are added but then also there is an error:
$.widget is not a function filepath on line 695
The following is my HTML code. I ...
0
votes
0answers
485 views
Input values updated with jQuery are empty in hook_submit
I'm using Drupal 7 and have created a form that contains textarea input boxes which are setup as jQuery UI Dialogs/Modals. When clicking a checkbox, the dialog opens, displaying a textarea. After ...
0
votes
0answers
217 views
Building a simple dialog with 2 choices on button click
i am quite new with JS, Jquery UI experimentation.
I know the basics of Drupal 7 and i am working with some cool new functionalities on my personal website.
The latest one i would like to introduce is ...
2
votes
3answers
175 views
Implementing jQuery-UI tabs
I have all my js files in a folder under my custom theme:
htdocs/themes/<mytheme>/js
I load all these js files in 'mytheme.info' in this way:
scripts[] = js/<script1.js>
scripts[] = ...
0
votes
1answer
271 views
modules for building ajax application and friendly urls?
I'm building an ajax application using drupal 7, i found a module with some help ajax_nodeloader, but also i need load panel pages, views, etc.
Until now i'm overriding template theme file (zen) for ...
1
vote
1answer
636 views
jQuery error “C is undefined” while making ajax call for pagination in Drupal 6
I am using Ajax for pagination for a form in Drupal 6 project. It is working fine on my local machine with default theme but on live server it gives me an error and generates another pagination links ...
0
votes
3answers
5k views
jQuery Uncaught TypeError: Object #<Object> has no method 'on'
I downloaded a jQuery Lightbox2 library (not module, just a raw library) and added the following in my custom module:
drupal_add_js($libpath . '/js/jquery-ui-1.8.18.custom.min.js');
...