Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

最新discuz X 3.2 后台日历 js控件无法弹出

[复制链接]
workmy999 发表于 2014-6-6 22:05:14 | 显示全部楼层 |阅读模式
最新discuz X 3.2 后台日历 js控件无法弹出最新discuz X 3.2 后台日历 js控件无法弹出

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
垃圾猫 发表于 2014-6-17 19:02:48 | 显示全部楼层

function showcalendar(event, controlid1, addtime1, startdate1, enddate1, halfhour1, recall) {
        controlid = controlid1;
        addtime = addtime1;
        startdate = startdate1 ? parsedate(startdate1) : false;
        enddate = enddate1 ? parsedate(enddate1) : false;
        currday = controlid.value ? parsedate(controlid.value) : today;
        hh = currday.getHours();
        ii = currday.getMinutes();
        halfhour = halfhour1 ? true : false;
        calendarrecall = recall ? recall : null;
        var p = fetchOffset(controlid);
        $('calendar').style.display = 'block';
        $('calendar').style.left = p['left']+'px';
        $('calendar').style.top        = (p['top'] + 20)+'px';
        doane(event);
        refreshcalendar(currday.getFullYear(), currday.getMonth());
        if(lastcheckedyear != false) {
                $('calendar_year_' + lastcheckedyear).className = 'calendar_default';
                $('calendar_year_' + today.getFullYear()).className = 'calendar_today';
        }
        if(lastcheckedmonth != false) {
                $('calendar_month_' + lastcheckedmonth).className = 'calendar_default';
                $('calendar_month_' + (today.getMonth() + 1)).className = 'calendar_today';
        }
        $('calendar_year_' + currday.getFullYear()).className = 'calendar_checked';
        $('calendar_month_' + (currday.getMonth() + 1)).className = 'calendar_checked';
        $('hourminute').style.display = addtime ? '' : 'none';
        lastcheckedyear = currday.getFullYear();
        lastcheckedmonth = currday.getMonth() + 1;
        if(halfhour) {
                $('halfhourselector').style.display = '';
                $('fullhourselector').style.display = 'none';
        } else {
                $('halfhourselector').style.display = 'none';
                $('fullhourselector').style.display = '';
        }
        if(BROWSER.ie && BROWSER.ie < 7) {
                $('calendariframe').style.top = $('calendar').style.top;
                $('calendariframe').style.left = $('calendar').style.left;
                $('calendariframe').style.width = $('calendar').offsetWidth;
                $('calendariframe').style.height = $('calendar').offsetHeight;
                $('calendariframe').style.display = 'block';
        }
        initclosecalendar();
}
回复

使用道具 举报

baby100 发表于 2014-6-17 20:22:20 | 显示全部楼层
确实存在此问题。。。。同问            
回复

使用道具 举报

cgren 发表于 2014-6-26 15:17:22 | 显示全部楼层
到底怎么解决?晕。那么多人存在这个问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-3-13 07:49 , Processed in 0.027391 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表