阅读全文>>
阅读全文>>
function CloseWebPage(){
if (navigator.userAgent.indexOf("MSIE") > 0) {
if (navigator.userAgent.indexOf("MSIE 6.0") > 0) { //适用于ie6不带提示关闭窗口
window.opener = null;
window.close();
} else {
window.open('', '_top'); //ie7之后不提示关闭窗口
window.top.close();
}...阅读全文>>
阅读全文>>
阅读全文>>
阅读全文>>
阅读全文>>
option = {
title: {
text: '深圳月最低生活费组成(单位:元)',
subtext: 'From ExcelHome',
sublink: 'http://e.weibo.com/1341556070/AjQH99che'
},
tooltip : {
trigger: 'axis',
axisPointer : { // 坐标轴指示器,坐标轴触发有效
type : 'shadow' // ...阅读全文>>
今天又遇到了需要跨静态页面间传递json数据的方法,总结总结,都有其优缺点,
1.利用cookie传值的方法:(注意有缺点,当存储数据比较多的时候就可能出现丢失,取得的cookie为空,所以提前估量数据量)
function setCookie(c_name, value, expiredays) {
var exdate = new Date() ;
exdate.setDate(exdate.getDate() + expiredays);
document.cookie = c_name + "=" + escape(value) ...阅读全文>>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>iframe tag test</title>
<style type="text/css">
html, body
...阅读全文>>