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'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 need to create a responsive carousel using flexslider. The problem is that one I shrink the browser window below the size of my container, item positions get messed up.   This is a screenshot of the slider on >1200 screen (fine)   This is a scre...
I am trying to add inline jQuery to an article in Drupal. I am using the following code:  <?php  // add inline javascript drupal_add_js(' $(document).ready(function() {    $("input[type='submit']").click(function(){       alert...
I have a Drupal 7 web site that is using jQuery animations to fadeIn div tags.  I need an event to capture a fadeIn when it is completed.  I have found a sample jQuery example that does what I need it to, but I have not been able to successfully conv...
At first, it was showing me Class 'simple_html_dom' not found in ... but I found the solution. Now even though Theme Developer module is activated, it doesn't show the radio box to check on the bottom left corner and Drupal doesn't sh...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.