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...
I have a Drupal-7 website, and I have created a module, where you upload an image and preview the image before submitting it.    <img id="blah" src="sites/all/themes/my_theme/logo.png" alt="default image" />   Then, I ha...
I am working on a Drupal project. I need to navigate to a differnt page on button click. I have the following button element in a HTML file.  <a href = # id="createbutton" style=margin-left:40px;font-size:80%;>Create New Path</a>&...
There appear to be a lot of questions about this, but none that have provided a working answer so far.  We have a css animation that animates an ellipsis using this fine example. https://codepen.io/thetallweeks/pen/yybGra  The class we use is here  #...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.