I need to set a placeholder for a horizontal login form in Drupal 7. This text needs to disappear when clicked on. They will just say 'username' and 'password'. Here is the code for the form as of now. Thanks!   function horizontal_lo...
I am migrating from Drupal 6 to Drupal 7 and had a Java script related issue which got resolved . Now i am able to see the pages without the error i used to see earlier. The screen shows the firebug view of the page post the dropdown change and javas...
I'm working on a Drupal site that just updated its ckeditor library from 4.5.x to 4.9.2. On one of our servers the image button suddenly stopped appearing and I find the error "Error code: cloudservices-no-token-url." in the browser javas...
With the great help of Sk8erPeter I managed to execute Javascript code on node creation and node update of a certain content type in Drupal 7.  My problem now is that I can not call the function FB.api from withing this modules js files. Does it have...
I am in the process of migrating my Drupal 6 site to Drupal 7. As a result i am facing some issues with the code. The calling of javascript laced with jquery etc is different in Drupal 7 is what i have read. This is the image of the page i had in Dru...
I've installed a 3rd-party jQuery plugin (it's an accordion).  It displays on my page, and works as expected.  I want to trigger one of the plugin's actions (open a particular slide) when I click on an image on my page.  I can't seem...
I know how to check if the user is logged in through PHP, but I need to do some styling when an event occurs, and I created a separate JavaScript file for this. Is this a Drupal variable or something which I can reference too?...
I am currently starting development of drupal sites on Acquia. Using git and working locally is a new workflow for me. When building locally and trying to utilize  Modernizr load / yepnope, my JS in my script.js file typically looks like this..  Mode...
Is there a way to get the drupal(7) module path from which the .js was loaded? I know that JS is a front-end language, but possibly Drupal passes that info in the Drupal object somehow?    Basicly I want to do something like this:   $('#selectabl...
I have this error while configuring views in drupal.     An AJAX HTTP error occurred.       HTTP Result Code: 200       Debugging information follows.       Path: /system/ajax       StatusText: OK       ResponseText:       [ {"command":"s...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.