Jquery extension for creating JavaScript user interface improvements.

learn more… | top users | synonyms

0
votes
2answers
113 views

how can I use jquery autocomplete in drupal 7

I want to use jquery autocomplete jquery plugin, I test below code but nothing happend, I check, the file added correctly and there is not js error. function ...
2
votes
2answers
92 views

Drupal ui inside module

Am i doing wrong to define, jQuery Accordion inside my .module file, just like this: <?php drupal_add_library('system', 'ui.accordion'); Drupal no longer loading jquery itself.
0
votes
2answers
21 views

How would I override misc/ui/jquery.ui.theme.css

I have theming being automatically applied by misc/jquery.ui.theme.css that I need to modify. I am using Views Accordian plugin in an instance of EVA for a FAQ category. What is the Drupal way to ...
0
votes
1answer
412 views

How to position an element using jQuery UI .position method?

I'm going on about 20 hours trying to get jQuery UI to work, and fortunately, I'm still not frustrated. I just really want it to work. I would like to use the .position method to position an element ...
1
vote
0answers
62 views

Draggable image in CKEditor [closed]

I have a problem, I can't make a image inside CKEditor draggable. I tried many things like $('img').draggable(); with timeout and so on. I can't get the image draggable. I also tried to inject a tag ...
-2
votes
1answer
837 views

Jquery ui dialog does not work?

In .module file for a function hook_form_alter() I have the following code: drupal_add_library('system', 'ui.dialog'); drupal_add_js(drupal_get_path('module', 'abc') . "/custom.js"); In ...
3
votes
1answer
573 views

How to use jquery ui tooltip in Drupal7?

I want to use jQuery UI tooltip in my Drupal7 website. I have installed 'jquery-update' and 'jquery-plugins' module and added $(function() { $("a").tooltip(); }); in js file of my template. ...
2
votes
2answers
247 views

Adding a jQuery UI widget in the administrative front-end

I have created a form within the administrative front-end in my Drupal 7 site to allow administrators to change some configuration options. I've defined the path to it in the following way (in ...
0
votes
1answer
2k views

How to display jQuery UI dialog in submit button's onclick and prevent form submission?

I'm using Drupal 7 and jQuery Update module set to jQuery version 1.8. I have a form. In it's definition I have: $form['#attached']['library'] = array( array('system', 'ui.dialog'), ...
0
votes
1answer
122 views

Load jquery action on link menu click/node load

So what I would like to do is great a sliding door effect for my drupal site using jquery-ui action. Does anyone know of examples or a module for this? Also I would like the action to execute on two ...
1
vote
0answers
844 views

How to display jquery ui accordion and drupal 7

the jqueryui accordion it only takes the first item from the list. I copy into my theme views-view-field--field-summary.tpl.php file and add this code <meta charset="utf-8" /> ...
0
votes
3answers
79 views

How to use a block as a field in Drupal 7

I'm working with this module which is providing me a block for uploading the file as mentioned in the doc https://drupal.org/project/jquery_file_upload Is there a way, where I can use this block as a ...
0
votes
1answer
704 views

How to use simple modal jquery plugin to get a dialog of table?

I want to show a popup when I click on a link which is basically done by jquery plugin simple modal. In my template.php file, function theme_name_preprocess_page(&$variables) { ...
2
votes
1answer
323 views

How to build a webform with a slider field

The Webform module itself doesn't (yet?) support the html5 <input type="range"> element, which isn't really cross-browser compatible yet anyway. I suppose right now (2013) we're stuck using a ...
0
votes
2answers
565 views

Modal window open once when user visits website

I'm trying to build simple modal window using jquery ui implementation in my custom module. I want to show this modal once when user visit my website. I choose implementation with cookie. How to make ...
0
votes
1answer
217 views

data in a select list clears out after adding one more field collection

I have a 2 select list inside the field collection. One is a parent list and another is a child list. Child list is populated when the parent list is selected.I use my custom Ajax and JQuery to ...
0
votes
1answer
109 views

How to include a juery ui file in drupal 7? [duplicate]

In my code for drupal 6 I had added the following js, jquery-ui and css files jquery_ui_add('ui.draggable'); drupal_add_css(drupal_get_path('module', 'ort') . '/js/jquery.alerts.css'); ...
0
votes
0answers
151 views

Display Drupal Form in jQuery Dialog

Before I post what I have found, I want to be clear about what I am trying to do. I have a drupal table with links in one of the columns (edit, delete). These links bring you to a new page with a one ...
1
vote
2answers
112 views

Linking to jQuery in block breaks Gallery formatter

At the top of my block, is this line: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> This is the reason why the Gallery ...
0
votes
1answer
476 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 ...
1
vote
1answer
365 views

how to alter block subject html tag?

I am trying to change the <h2> tags that block.tpl.php uses to wrap <?php print $block->subject ?> to <h3> tags so that I can target them with jQuery UI Accordion. I've got the ...
1
vote
2answers
989 views

How do I programmatically close a simple_dialog window

I'm in D7 I open a simple dialog window with the simple dialog module, and i want to close the dialog programmatically. I've tried this // not working ! ...
0
votes
0answers
103 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 ...
1
vote
2answers
525 views

Disable jquery.ui.theme.css only for front end?

I'm using jquery tabs on my page but they loaded some default styles that I didn't want. Thus I removed them with the following code: drupal_add_library('system', 'ui.tabs'); function ...
2
votes
1answer
478 views

jQuery ui embedded calendar on a drupal 7 form

I have a drupal 7 custom form written in PHP where the user can add periods of time to define his/her availability. Created periods of time are showed in a tableselect list with a button to delete ...
0
votes
1answer
361 views

jQuery_ui slider doesn't load for anonymous user

In my recent drupal 7 install... I've installed jquery_update. I configured it, and added a little module with a js. jQuery_ui is not loaded for anonymous use. I've done some researches on the web ...
0
votes
2answers
477 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
481 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
1k 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
188 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 ...
2
votes
1answer
353 views

jQuery effect after pressing button

Drupal 6. I try to add jquerry effect after pressing button $(function(){ $('.node-add-to-cart').click(function() { $(".prod-pic").effect("transfer", { to: $("#block-uc_cart-0") }, ...
0
votes
2answers
345 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
2k 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); ...
1
vote
3answers
1k views

How to change order of javascript files in Drupal 6?

I would like to change the order of my javascript files, and specifically move the jwplayer.js file so that it gets included after the jquery_ui*.js files. Does anyone know how to do this? I see how ...
0
votes
0answers
296 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 ...
1
vote
2answers
780 views

enable jquery ui effects in theme .info file

Now I should add something like <?php drupal_add_library('system', 'effects.bounce'); ?> to my page.tpl.php to enable jquery ui effects to use in views_slideshow_cycle module. is there anyway ...
2
votes
3answers
424 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
381 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
3k views

Registration form in a popup window (colorbox or jQuery ui)?

How to embed a registration form in a popup window. I would like to use colorbox or jquery ui: drupal_add_library('system', 'ui.dialog'); Thanks in advance!
2
votes
0answers
186 views

draggable tabs with quicktabs [closed]

I want have a quicktab block with draggable tab feature in Drupal 7 using the Quick Tabs module. I read something about jquery UI draggable plugin. How can I have draggable tabs using that module? ...
1
vote
1answer
1k 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
4answers
10k 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'); ...
1
vote
3answers
1k views

JQuery FadeIn effect and Omega Theme

I am trying to use the fade in effect in Drupal when I load a page. In my Omega sub-theme I have included the following line in its .info file. scripts[] = '/js/custom.js' In the script, I have ...
2
votes
1answer
1k views

How to display multiples jQueryUI progressbars in a page in Drupal 7?

I am developping my personnal website with Drupal 7. I would like to show a progressbar for each of my skills, but with differents values. For exemple, I would like to see a progressbar under (or ...
0
votes
1answer
3k views

Jquery UI Dialog attempt to submit a form using AJAX redirects me to the actual form page instead of AJAX submitting

I have a form and I want to do the following Click a link to popup a modal JqueryUI Dialog window Load into this window, via AJAX, a Form Submit the form via AJAX Upon successful submission, Close ...
2
votes
2answers
612 views

Adding jQuery UI selectmenu() to Drupal form

I'm trying to add a styling to the select form elements in my Drupal form using jQuery UI. I'm using Drupal 7 so the usual way to add jQuery UI would be something like this: ...
2
votes
1answer
325 views

How to know if jQuery UI is being included

Is there a good way of checking for if jQuery UI is being included on the current page request? Found drupal_get_library(), and drupal_add_library(), but neither of them allows me to check if it is ...
0
votes
3answers
1k views

Module for Integrating jQuery UI Multiselect Widget

I am using the jQuery multiselect widget on another non-Drupal project and I would love to be able to use it with CCK in Drupal 7. I have found this module for CCK multiselect but it is not exactly ...
1
vote
1answer
108 views

including jquery.ui 1.6 directly from theme.info

It is possible? because i've tried to include jquery ui library through drupal.org/project/jquery_ui module (followed instructions in readme.txt) but that library won't show up in source code. What's ...
10
votes
6answers
12k views

Using Drupal 7 built in jQuery UI in my theme

Every page of my theme will need to use jquery ui. I know it's included with Drupal 7, but I can't really decipher Drupal's way-too-technical documentation. It looks like the only way to do it is ...