Quantcast
Channel: How to run jquery function on every page load - Drupal Answers
Browsing all 3 articles
Browse latest View live

Answer by DiDebru for How to run jquery function on every page load

You could try to disable the caching of the view.To do this go admin/structure/views and edit your view under the advanced section there is a caching option.

View Article



Answer by NTT for How to run jquery function on every page load

(function ($) { Drupal.behaviors.custom_scripts = { attach: function (context) { //write your custom code } }})(jQuery);Along with this for the first time you have to clear cache, and this will work in...

View Article

How to run jquery function on every page load

I have a Views grid that contain images in DIV containers. I want these containers to have one of two possible heights 60px or 104px, depending on the images height. So I came up with this function...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images