Tagged Questions
2
votes
0answers
206 views
Jquery loading Ajax only works on first node in view unless clicking any other node first
I have a view of nodes. Each node has a table and a div. I would like to click a link to show an extra row in that node's table along with loading content via ajax into the div. Later the click should ...
1
vote
0answers
224 views
Attach a handler to the “event” of autocomplete select with jQuery
I'm using Views Autocomplete Filters on an exposed node title field. I would like to attach a handler to the "event" when the user selects one element from the autocomplete list without applying this ...
1
vote
0answers
58 views
Why won't JS fire on ubercart checkout page and how do I fix?
I need some custom JS (jQuery to be precise) to run on ubercart's /cart/checkout page. I turned off JS optimization and tried adding it to several different files that are already loading and the JS ...
1
vote
0answers
197 views
Using ajaxcomplete in D7 to parse links
I am using two themes, one which is Mobile jQuery based that is presented to any mobile user. Also, I am using a jQuery lightbox module that is enabled for visitors on the desktop site to view a ...
1
vote
0answers
199 views
My custom javascript replace method for Fancybox and Vimeo works on some pages, but not all
So, I have beent tackling this issue since yesterday to no avail. I have been trying to integrate Vimeo videos into Drupal 7 and display them in a nice Fancybox overlay. I am using the following ...
0
votes
0answers
15 views
Draggable form elements, not table rows?
Is there a helper module or API solution to make drag'n'drop in Drupal forms, but not in a table? For example, to allow user to drag nodes he created to a "promoted" zone or to drag virtual books ...
0
votes
0answers
27 views
Ckeditor detach/attach event
How can I execute/insert a jQuery script when disabling and enabling Ckeditor Source button.
I want to replace the image tag with a custom tag when detaching the ckeditor then bring back the original ...
0
votes
0answers
28 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
0answers
67 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
0
votes
0answers
31 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
269 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
0answers
193 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
0answers
30 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
36 views
#states animation
I am using the #states on my form to hide and show elements. Is there any way you can add some jQuery animation to slide the hidden fields in and out rather than them just appearing?
0
votes
0answers
60 views
Drupal changing Javascript charset and removing elements
It appears that when I run a script through Drupal, the Javascript is modified. I am running Bootstrap with jQuery 1.9.1 and jQuery Mobile 1.2 on the page as well in a strict doctype. This particular ...