TypeError: $(...).live is not a function $('a.close, #mask').live('click', function() {
TypeError: myLeftColumn is null var myLeftHeight = myLeftColumn.offsetHeight;
TypeError: $(...).nivoSlider is not a function $("#slider").nivoSlider({
$('a.close, #mask').live('click', function() {
$('#mask , .login-popup').fadeOut(300 , function() {
$('#mask').remove();
});
$('a.closet, #mask').bind('click', function() {
$('#mask , .login-popup').fadeOut(300 , function() {
$('#mask').remove();
});
<script type="text/javascript">
$(window).load(function () {
$("#slider").nivoSlider({
captionOpacity: 1.0,
pauseTime: 10000
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$('a.login-window').click(function() {
var loginBox = $(this).attr('href');
$(loginBox).fadeIn(300);
var popMargTop = ($(loginBox).height() + 24) / 2;
var popMargLeft = ($(loginBox).width() + 24) / 2;
$(loginBox).css({
'margin-top' : -popMargTop,
'margin-left' : -popMargLeft
});
$('body').append('<div id="mask"></div>');
$('#mask').fadeIn(300);
return false;
});
$('a.closet, #mask').bind('click', function() {
$('#mask , .login-popup').fadeOut(300 , function() {
$('#mask').remove();
});
return false;
});
});
</script>
Uncaught TypeError: Cannot read property 'offsetHeight' of nullscript.js:8
We use essential cookies to make this site work, and optional cookies to enhance your experience.