Jquery extension for creating JavaScript user interface improvements.

learn more… | top users | synonyms

1
vote
1answer
28 views

How can I get header part from my drupal 7 site? [closed]

Hotelscombined(hotel information site) asked me "the header part" of my website so they can combine my website's header and their hotel list. My header part will be placed in their site. Then it ...
0
votes
0answers
17 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
0answers
20 views

jQuery UI tabs in behaviors.js

I want to use my theme's behaviors.js (not template.php etc) to create jQuery UI tabs. Here is an example of jQuery UI tabs where the js is $("#tabs").tabs(); My html = <div id="tabs"> ...
0
votes
1answer
147 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
47 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" ...
1
vote
2answers
37 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
54 views

How to add custom slider for textfield

I read: Best way for including javascript/jQuery OnLoad in EVERY page on my site How to get jquery working on Drupal 7 - for Newbies How to include jQuery UI on a page without PHP? I'm using ...
0
votes
0answers
30 views

Not able to pass PHP variable to JS file [duplicate]

Javascript works fine, but i need to get my_var variable from module. At the moment its not working. Clear my page cache and browser cache several times. The variable 'my_var' is showing value on ...
0
votes
2answers
543 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
102 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
55 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 ...
1
vote
1answer
753 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
95 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
1k 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
925 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
309 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
136 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
1k 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
125 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
913 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
509 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
862 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
263 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
138 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'); ...
1
vote
2answers
125 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
571 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
500 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
1k 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
117 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
636 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
545 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
409 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
671 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
581 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
2k 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
210 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
376 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
395 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); ...
2
votes
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
320 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
836 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
504 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
406 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
199 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
2k 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
2k 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 ...