jQuery doesn't fire some events while I'm not logged in (Joomla)
Posted
by
Andrew Sekaev
on Stack Overflow
See other posts from Stack Overflow
or by Andrew Sekaev
Published on 2012-12-12T21:49:40Z
Indexed on
2012/12/12
23:03 UTC
Read the original article
Hit count: 215
So basically, .resize
function fails until I log in. What does that mean? And how that can be fixed? Almost all other functions work fine. The site is still in developement, so no live version sadly.
UPDATE:
jQuery(window).resize(function() {
var windowSize = jQuery(window).width()
var windowWidth = (jQuery(window).width()-60)/6;
var windowHeight = windowWidth/1.6;
/*grid resize*/
jQuery('.xc-block').css({'width':windowWidth, 'height':windowHeight});
});
This is very simple script, cant really tell what can be wrong... Any thoughts guys? P.S:also no errors in FireBug...
© Stack Overflow or respective owner