JQuery

Zyxware default image3
| 2 min read
It is easy to show an image pop-up in Colorbox using Views in a Drupal website. You just have to change the image formatter in Views. However if you don't have a View and you still want to load the image in Colorbox, you can do it using jQuery. Read on to know how to load an image in Colorbox using jQuery in a Drupal 7 website.
Zyxware default image4
| 2 min read
Enabling the jQuery effects on a page is now no more a mess. Using a plugin called Adipoli, it is as simple as this to show different effects for our content: Add the necessary js files and css files. Select the element on which the effect is to be applied. Invoke the tooltip plugin. So here is the code: $(document).ready(function(){ $('.imgsmile').adipoli({ 'hoverEffect' : 'popout' }); }); There are still more effects that you can add up on other than popout:
Zyxware default image4
| 1 min read
We were trying to create a new theme for our Drupal site and we came across an issue. How to create div "left" to be the same height as div "right" which can be smaller or bigger? Is it possible to have the "left" div height adjusts automatically according to the "right" div height? Here is what saved us: