Hi, in this version, you use jqp_add_js('jquery.ui.core.min.js', TRUE); whereas "true" signifies that you want to set 'defer' to TRUE in drupal_add_js. I don't know if that was the intention, but it doesn't work for me, I get two errors, pasted as follows. If i remove the "TRUE" from the function call, everything works fine.
syntax error
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
SITENAMEHERE?E= (line 1)
slider_bar.width(parseInt(settings.width)).slider is not a function
slider_bar.width(parseInt(settings.width)).slider(settings);
slider_t...ield.js?E (line 71)
Cheers,
Martin
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | slider_textfield_353542.patch | 820 bytes | skilip |
Comments
Comment #1
skilip commentedThanks for reporting Martin.
Comment #2
skilip commentedComment #4
yuetsu commentedhi - if i could tag on to this one? i'm also seeing a similar error (see below). however, i don't see where to do the work around of taking out "TRUE" that martin says, or how to employ the patch you have above. could you please give explicit instructions as to how to make this work, step by step? sorry, drupal noob here.
here's the error i see —
Fatal error: Call to undefined function jqp_add_js() in /Applications/XAMPP/xamppfiles/htdocs/drupal/sites/all/modules/slider_textfield/slider_textfield.module on line 134
— yuetsu
Comment #5
yuetsu commentedComment #6
akaserer commentedduplicate of
http://drupal.org/node/710098