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'm trying to replace all the HTML (including the HTML tags) with another page. What I'm trying to do is having a website acting as an app even when navigating the another page.  Here is the code :  (function($) {   Drupal.behaviors.loadingPa...
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...
I'm using this jQuery to render a text box onClick.  But, It's not rendering... Also, on a side note I'm using Drupal 7.  I have the jQuery in the Head tags of the html.php.   <script type="text/javascript">    $(document).r...
I have used a block for adding an option to print the page.The content of the block is  <a onclick='window.print();' style='cursor:pointer'>Print this page</a>  It works fine but I need to customize the content to be print...
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 have a jquery script that loads on document ready and I want to display a hidden popup if a user has already clicked a button (button field). But the condition I check is with php code.  <script> $( document ).ready(function() {   if (<?ph...
I'm trying my hands on writing my own Drupal module, and I came to the point where I wanted to include Javascript. I tried including a very simple jquery file, but I keep getting Uncaught 'TypeError: undefined is not a function'. I alread...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.