light box and equalize size is not working simultaneously
Dear All
Lightbox popup working fine
but ,
following JQUERY code at the bottom of the php code does not work
In short code to equalize height doesnot work with light box
pls help
- script type="text/javascript">
- $(document).ready(function() {
- alert("XX"); // i had kept this alert to check whether this part of jquery is executed
- $.fn.delay = function(time, callback){
- // Empty function:
- jQuery.fx.step.delay = function(){};
- // Return meaningless animation, (will be added to queue)
- return this.animate({delay:1}, time, callback);
- }
- var maxHeight=0;
- $('.imageblock').each(function() {
- maxHeight = Math.max(maxHeight, $(this).height());
- }).height(maxHeight);
-
-
-
- });
- </script>