Jscalendar popup window is hidden in top of the screen for IE7 and XP
来源:互联网 发布:阿里巴巴 软银 知乎 编辑:程序博客网 时间:2024/06/11 02:47
Jscalendar popup window is hidden in top of the screen for IE7 and XP
在ie7显示有问题,如果页面长于一页的,下面的日历会跑到页面的最上面:
在/jscalendar-1.0/calendar.js里面加上以下代码:
if (document.documentElement.scrollLeft ||
document.documentElement.scrollLeft == 0){
br.x += document.documentElement.scrollLeft;
}else {
br.x += window.scrollX;
}
if (document.documentElement.scrollTop ||
document.documentElement.scrollTop == 0){
br.y += document.documentElement.scrollTop;
}else {
br.y += window.scrollY;
}
摘自http://drupal.org/node/118926
- Jscalendar popup window is hidden in top of the screen for IE7 and XP
- Animate to display a dialog message box in the right-bottom of the window screen
- restore vm screen and window in putty
- The session of IE7 and IE8
- the diary of process manage of top ps and kill in linux
- Why is there extra padding at the top of my UITableView with style UITableViewStyleGrouped in iOS7
- What is the difference between -I and -L in makefile? and the means of -d.
- Question 12: In C++, which of the following is the best declaration for an overloaded operator[] to allow read-only access (and
- print 'welcome to masm!' in the center of the screen.
- 3.1 Placing UI Components in the Center of the Screen
- Warning: Attempt to present ControllerA and ControllerB whose view is not in the window hierarchy!
- Code: The Hidden Language of Computer Hardware and Software 总结
- What is the difference between Sprint and Iteration in Scrum and length of each Sprint?
- Hidden Gems in the Java APIs - Utility Classes and Methods
- Hidden Programs in Windows XP
- window's property of status and screen,method of open、alert and close
- two of the hardest things ti say in life hello for the frist time and goodbey for the lsat
- What is the purpose of @SmallTest, @MediumTest, and @LargeTest annotations in Android?
- Hibernate HQL语句的参数设置
- [转]用ATL开发和部署ActiveX网页控件
- c#中out和ref的用法与区别
- SAP ABAP SELECT-OPTION赋初值
- zoj 1092 Arbitrage
- Jscalendar popup window is hidden in top of the screen for IE7 and XP
- 版本控制系统简介RCS/CVS/Subversion
- 多维数组的指针变量
- 对Oracle学习者的一些建议
- Linux学习高手写给初学者的经验谈
- abap selection screen
- Delphi 设计模式:《HeadFirst设计模式》Delphi7代码---策略模式之MiniDuckSimulator
- Mondrian系列(三)-如何设计Mondrian的Schema(2)-逻辑模型
- 程序员小抄大全