Jquery extension for creating JavaScript user interface improvements.

learn more… | top users | synonyms

0
votes
1answer
10 views

CKEditor Toolbar Configuration

I would like to use CKEditor on my Drupal website. But the toolbar is not showing up when I go to edit appearance on any profile (full or advanced). Although, when I add or edit any type of content, ...
0
votes
2answers
14 views

jcrop not working

I can't get jcrop to work It gives Uncaught TypeError: $(...).Jcrop is not a function on $('#image1').Jcrop({ alert($('#image1').value) gives undefined ...
0
votes
0answers
23 views

Ajax Response from modal-embedded form always results in redirect

I have the following form: https://gist.github.com/j-hall-ctidigital/53e26cd23d6f8416f86f Which is embedded into a modal using AjaxResponse from another form: ...
0
votes
1answer
33 views

Hook form alter not firing on a custom form that does exist [closed]

I have a hook form alter function that is not recognizing or firing on a form that clearly does exist on the page. And i’ve tested this function against the Drupal built in form with the id of ...
0
votes
0answers
5 views

What determines which files should get loaded from misc/ui/ folder

I was trying to use jQuery’s draggable function today and it did not work. after some poking around i see the misc/ui folder that is full of jQuery ui functions. like for example ...
0
votes
1answer
38 views

Embed a TinyMCE text Editor in a Textarea in Drupal Form API

I have a code below, that embeds TinyMce Editor in a text area. See image below: $form['myid_templates_editor']['text-modal'] = array( '#type' => 'text_format', '#title' => ...
0
votes
0answers
13 views

Drupal 8.0.0 Open modal dialog

So i create new dialog: $response = new AjaxResponse(); $modal = new OpenDialogCommand($title, $content, $options); $response->addCommand($modal); return $response; can someone help me with code ...
0
votes
1answer
10 views

How to debug what module/process is requesting a file?

I moved my drupal 6 site to server with php 5.5 and the site started to throw not found error - sites/all/libraries/jquery.ui/themes/base/jquery-ui.css on every page. I have not installed any new ...
0
votes
0answers
40 views

Drupal 8 RC2 library dependancies not loading

The dependency core/jquery.ui is not loading into the theme. jQuery is loaded as it is included by default but jquery.ui refuses to load. #theme.libraries.yml popup: version: 1.x js: ...
1
vote
1answer
50 views

Image Radio Buttons in Drupal Forms API [duplicate]

I have a radio button element in my Form API. See code below. $active = array(0 => t('Line'), 1 => t('Rectangle'), 2 => t('Ellipse'), 3 => t('Text'), 4 => t('Image')); ...
2
votes
1answer
25 views

Anchor Tag Smooth Transition

Right now my menu item will scroll to my anchor tag < front >#tag1, without a problem. However I do not like how "jumpy" it is. I would like a smoother scroll affect? I found this module: ...
0
votes
0answers
34 views

Change Month's Language at Calendar Views

I am using the calendar module and it's view displays. In month view display, I want to change month name at the top of page. I dont want to use Localization update module. I only change a couple of ...
2
votes
1answer
98 views

How to update block with step links based on AJAXified multipage entity form state?

Brief I'm using Entityform with Field group configured as Multipage with AJAX enabled for multipage groups provided by Field Group Ajaxified Multipage. So there are multiple steps and user can access ...
0
votes
1answer
53 views

how to prevent user from clicking button twice on server side in jqx [duplicate]

$('#save').on('click',function(){ $('#form').jqxValidator('validate'); }); How can I prevent user from click button twice on server side?
1
vote
0answers
265 views

Date field and Jquery UI date picker - start date - end date

I'm not sure if this could be considered an issue, but I cannot find anywhere relevant in forum to pose the question. I am trying to understand how webforms works with Jquery UI and date picker. My ...
1
vote
1answer
32 views

Tabledrag in grid shape for media form field widget thumbnails [closed]

I am looking for a way to change the tabledrag into a grid shape. A nice looking solution for drag-and-drop uploading files and sorting them in a way that jquery sortable does. It should end up to be ...
2
votes
1answer
251 views

What is wrong with my JQuery UI datepicker option code?

I have an AJAX view using Views 3 and Better Exposed Filters (and therefore jQuery UI datepicker). One of the exposed filters is dates between [post-date] (core). The form works fine, but when dates ...
0
votes
1answer
226 views

Can't get jQuery UI autocomplete working

The text field that is created seems to just act like a normal textfield, no autocomplete function or any indication that it works at all. There's no errors in the console. I've run checks to see if ...
0
votes
1answer
513 views

jQuery ui isn't loading

I'm simply trying to implement the tabs widget on a particular page. I have both jquery_update and jquery_plugins modules enabled. If I go to Administration > Reports > Status report Under ...
1
vote
1answer
122 views

jQuery UI is missing in all pages [closed]

I am having the errors in console for jQuery UI. The jQuery Update module (7.x-2.4) is being used in my theme, and I have no idea why it is not including the jQuery UI. The following is the screenshot ...
0
votes
1answer
68 views

Converting existing autocomplete field to custom Drupal field

I have an existing autocomplete field outside of Drupal that uses jQuery UI's autocomplete functionality and makes a call to a custom PHP script to parse the input and return formatted data as JSONP. ...
0
votes
3answers
806 views

How to implement jQuery Accordion for a Menu?

I'm looking to implement something like the Accordion Menu module, but unfortunately that module has issues with Menu Block and other modules... so what's the best way to implement the jQuery ...
0
votes
0answers
110 views

Inline javascript in drupal_add_js is causing WSOD

In my template.php i am executing some inline javascript code. When executing, the result is a white screen of death (WSOD). The web servers error log says: PHP Parse error: syntax error, ...
1
vote
0answers
96 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
0answers
268 views

How to support fast year browsing in jquery UI Datepicker?

I am using jQuery UI Datepicker in an exposed filter of a view and I get the following Datepicker: How is it possible to configure the Datepicker, so that I can quickly navigate through the years, ...
1
vote
1answer
287 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
1answer
565 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 ...
1
vote
0answers
112 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
565 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
348 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
209 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
370 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 ...
-1
votes
2answers
2k 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
135 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
181 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
2k 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
229 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
4k 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 ...
4
votes
1answer
2k 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
624 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 ...
-1
votes
1answer
3k 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
204 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
2k 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
903 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
2k 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
1k 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
2k 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
511 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
365 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
195 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 ...