jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions.

learn more… | top users | synonyms

0
votes
2answers
32 views

How do I apply cufon.js only for Internet Explorer, in template.php?

I have some font problems in Internet Explorer, so I am trying to apply font-family through JavaScript. It works, but the JavaScript code runs for every browser. How do I run JavaScript code only on ...
1
vote
2answers
24 views

jQuery.js not loading after enabling custom module

I have written my custom module for Drupal 7. In my page_change.module file I have only: <?php drupal_add_js(drupal_get_path('module', 'page_change') . '/page_change.js'); ?> In my ...
0
votes
2answers
24 views

call a js function on loading a page

is it possible to call a javascript(jquery) function once a particular page is loaded. It should be hacking the of the whole site and to detect what the current page is and call the function. How can ...
0
votes
3answers
42 views

How to insert html content into popup which arises while using simple modal? [on hold]

I am using simple modal jquery plugin. I want to insert html content into popup which opens up using modal() in javascript.Where should the html content be placed to insert the content into the popup ...
0
votes
1answer
19 views

footer link to a page with hash changed content ready

I have set up the pages like this (using some php and jquery): On this page, I have some tabs, using jquery to hide and display the content on click each tab. The url will change to #this_tab_name ...
2
votes
1answer
35 views

How to access image style url from jQuery code?

image_style_url() generates proper links, but sadly it's only a PHP function. Let's assume I want to substitute file icon with preview image on hover: (function($) { Drupal.behaviors.ImagePreview ...
0
votes
1answer
33 views

jQuery code in Drupal

I have this code, but I don't know how to wrap it in Drupal. $(document).scroll(function () { var y = $(this).scrollTop(); if (y > 100) { $('.bottomMenu').fadeIn(); } else { ...
0
votes
0answers
42 views

Zurb Foundation javascript features not working [closed]

I have Zurb Foundation set as my subtheme with jQuery update set to 1.8. The problem is that none of the javascript features included in Foundation 4 are working properly. Orbit loads broken, ...
0
votes
1answer
17 views

jQuery animation isnt repeating

Im pretty sure that my jQuery should below should work but when I use it in a Drupal site the animation doesn't repeat like it should. http://smartpeopletalkfast.co.uk/t/ ...
1
vote
1answer
39 views

Using sticky-enabled Table Headers causes IE10 to crash on printing [closed]

A customer complained that printing a Views page on my Drupal 7.23 (Marinelli 7.x-3.0-beta11) Site causes IE10 to error ("Internet Explorer has stopped working"). And he's right. Works fine on ...
0
votes
0answers
13 views

sync animation of 2 views using views_slideshow

First, I'm a system builder, not a developer so apologies if I'm asking a naive question. I have a view with animation setup fine with 12 images (image A). Thye transition at about 3 seconds each. ...
0
votes
1answer
29 views

jQuery Toggle not working in Drupal

Problem I'm using jQuery toggle to make one block appear when another is clicked. The code works in jsfiddle but doesn't in Drupal. Set-Up I have a node with two blocks on it, applytoggle and ...
1
vote
1answer
36 views

A lot of core JavaScript files not being included

For some reason a bunch of core JS files are not being loaded. I've had to manually add them in with a module hook_js_alter function like so: function MYMODULE_js_alter(&$js) { ...
0
votes
0answers
11 views

Views Accordion jquery

Because of the format I am using, I cannot use views accordion. I am instead using: https://drupal.org/project/jquery_ui_filter, and using it in this fashion: ...
0
votes
1answer
35 views

How to append classes for dynamic terms in jquery? [closed]

I have installed a rating module, there I want to change the style. for that what I need is there is a css class called $('.rate-widget-fivestar) there are totally 3 widgets. the value of five ...

15 30 50 per page