/////////////////////////////////////// /// ここから、Enterでのポスト防止策 /// /////////////////////////////////////// function key_Press(e) { if(getKEYCODE(e)==13) { //あるエリアにフォーカスがあるとき以外は、falseを返す //これもまたブラウザによって実装のされ方が違う if(window.event) { if(window.event.srcElement.type != 'image' && window.event.srcElement.type!='textarea') { return false; } } else if(e) { if(e.target.type != 'image' && e.target.type!='textarea') { return false; } } } } //キーコード取得の仕方が、ブラウザによって異なる function getKEYCODE(e) { if(document.all) { return event.keyCode } else if(document.getElementById) { return (e.keyCode!=0)?e.keyCode:e.charCode } else if(document.layers) { return e.which } } //コールバックを設定 document.onkeypress = key_Press /////////////////////////////////////// /// ここまで、Enterでのポスト防止策 /// /////////////////////////////////////// ////////////////////////////////////// /// ここから、検索画面での動作補助 /// ////////////////////////////////////// var OptonFlag = true; //詳細の表示と非表示 function SwitchSearchOption(target) { if (OptonFlag) { document.getElementById(target).style.display = "block"; } else { document.getElementById(target).style.display = "none"; } OptonFlag = !OptonFlag; //alert(document.getElementById(target).style.visibility); } //フルFlashのチェックの動作 function OnlyFullFlash(IsReset) { //document.getElementById("_ctl0_cphMain_ddlTechnology").disabled = document.getElementById("_ctl0:cphMain:cbxFullFlashOnly").checked; document.getElementById("_ctl0_cphMain_ddlTechnology").disabled = document.getElementById("_ctl0_cphMain_cbxFullFlashOnly").checked; if (document.getElementById("_ctl0_cphMain_ddlTechnology").disabled) { for (i=0;i" + "" + "" + ""; if (!IsAutoStart) { obj = "" + "" + "" + ""; } document.write(obj); } //////////////////////////////// /// ここまで、ライブムービー /// //////////////////////////////// ////////////////////////// /// ここから、オススメ /// ////////////////////////// var IsRecommBlogView = false; function ViewRecomm() { IsRecommBlogView = !IsRecommBlogView; if(IsRecommBlogView) { document.getElementById("divRecomContents").style.display = "block"; } else { document.getElementById("divRecomContents").style.display = "none"; } } function strCut(targetID,len) { var obj = document.getElementById(targetID); var txt = obj.innerHTML.split("").join("");//.replace("","").replace("","").replace("",""); txt = txt.split("").join(""); txt = txt.split("").join(""); txt = txt.split("").join(""); if (txt.length > len) { obj.innerHTML = txt.substring(0,len) + "..."; } } ////////////////////////// /// ここまで、オススメ /// ////////////////////////// /////////////////////// /// ここから、NoPic /// /////////////////////// function nopic(objTarget,noPicPath) { if(objTarget.src.search('nopic') <= 0) { objTarget.src = noPicPath; } } /////////////////////// /// ここまで、NoPic /// /////////////////////// //////////////////////////// /// ここから、書き出し用 /// //////////////////////////// function writeAd1(ref) { if(ref != "") { } } function writeAd2(ref) { } function writeAd3(ref) { } function writeLiveBookmarks() { document.write(GetLiveBookmarks()); } function writeLiveBookmarks_Top() { document.getElementById("LiveBookMarks").innerHTML = GetLiveBookmarks(); } function GetLiveBookmarks() { var url2 = "http://textlinks.jp/?din"; var adNum2 = 26; var title2 = "被リンク.JP PR AD"; var imgFile2 = "/AdBanner/link180x60.gif"; var writeObj = "
\"\"
" + "
" + "はてブに一つどう?" + "
" + "
\"\"
" + "
\"\"
" + "
" + "del.icio.usなあなたへ" + "
" + "
\"\"
" + "
\"\"
" + "
" + "クリップしときません?" + "
" + "
\"\"
" + "
\"\"
" + "
" + "Yahoo!でブックマーク" + "
" + "
\"\"
"; //"
\"\"
" + //"
" + // "人気ランクの順位は?" + //"
" + //"
\"\"
" + //"
" + // "\"AD\"" + //"
"; return writeObj; } function writePlugin() { var writeObj = "
\"\"
" + "
" + "[ このサイトの使用プラグイン ]
" + "" + "
" + "
\"\"
"; document.write(writeObj); } function writeRSS() { document.write(GetRSS()); } function writeRSS_Top() { document.getElementById("RssObj").innerHTML = GetRSS(); } function GetRSS() { var writeObj = "
\"\"
" + "
" + "\"Webデザイナーへ毎日更新中!" + "
" + "
\"\"
"; return writeObj; } function writeMailMagazine() { document.write(GetMailMagazine()); } function writeMailMagazine_Top() { document.getElementById("MailObj").innerHTML = GetMailMagazine(); } function GetMailMagazine() { var writeObj = "
\"\"
" + "
" + "
" + "[ メルマガ配信中! ]
メールでも配信中!" + "
" + "
" + "
\"\"
"; return writeObj; } function writeDateLBCount(url,addDate,hbCount,dcCount,ldCount) { var writeObj = "( " + addDate + " )
" + "\"はてブ\" " + hbCount + "" + "\"del.icio.us\" " + dcCount + "" + "\"ライブドアクリップ\" " + ldCount + ""; document.write(writeObj); } function writePaneGraph(vCount,aCount,vLength,aLength) { var writeObj = "
" + "
参照数 -
\"\"
( " + vCount + " )
" + "
得票数 -
\"\"
( " + aCount + " )" + "
"; document.write(writeObj); } function writeTopGraph(vCount,aCount,vLength,aLength) { var writeObj = "
" + "
参照数 -
\"\"
( " + vCount + " )
" + "
得票数 -
\"\"
( " + aCount + " )" + "
"; document.write(writeObj); } function writeBlandAd() { var url = "http://powertext.jp/service/list.html"; var adNum = 28; var title = "Power TEXT PR AD"; var imgFile = "/AdBanner/ptxt180x180.jpg"; var writeObj = "
\""
" + "
" + "\""" + "
"; document.write(writeObj); } function writeBlandAd2() { var url = "http://tools.rightclicksright.net/tag/web%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%80software%e3%80%80%e3%82%bd%e3%83%95%e3%83%88%e3%82%a6%e3%82%a7%e3%82%a2.aspx"; var title = "[ Tools * Sense ]"; var imgFile = "/AdBanner/tool.png"; var writeObj = "
\""
" + "
" + "\""" + "
"; document.write(writeObj); } //////////////////////////// /// ここまで、書き出し用 /// ////////////////////////////