Changeset 20435
- Timestamp:
- 10/02/08 03:54:04 (5 years ago)
- Files:
-
- 1 modified
-
websites/twicli/twicli.html (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websites/twicli/twicli.html
r20084 r20435 41 41 #popup a:hover { background-color: #33f; color: #fff; text-decoration: none; } 42 42 #popup a.row2 { background-color: #eee; } 43 #popup_hide { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0. 1; background-color: black; z-index: 5; }43 #popup_hide { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.2; background-color: black; z-index: 5; } 44 44 #user_info { margin: 1px; border: 1px solid #888; } 45 45 #user_info td { font-size: small; } … … 213 213 214 214 <script type="text/javascript"> 215 var pluginstr = readCookie('tw_plugins') || 'search.js\nfavotter.js'; 215 var cookieVer = readCookie('ver') || 0; 216 var pluginstr = (cookieVer>0) && readCookie('tw_plugins') || 'search.js\nfavotter.js'; 216 217 var nr_limit = readCookie('limit') || 500; // 表示する発言数の上限 217 218 var max_count = readCookie('max_count') || 50; … … 333 334 $('popup').style.left = pos[0] < $('popup').offsetWidth - ele.offsetWidth ? 0 : pos[0] - $('popup').offsetWidth + ele.offsetWidth; 334 335 $('popup').style.top = popup_top = pos[1] + 20; 335 $('popup_hide').style.height = document.body.scrollHeight;336 $('popup_hide').style.height = Math.max(document.body.scrollHeight, $("tw").offsetHeight+$("control").offsetHeight); 336 337 $('popup_hide').style.display = "block"; 337 338 } … … 377 378 (tw.in_reply_to_status_id ? ' <a class="button" href="#" onClick="dispReply(\'' + un + '\',' + tw.in_reply_to_status_id + ',this); return false;">☞</a>' : '') + 378 379 //popupメニュー表示 379 ' <a class="button popup" href="#" onClick="popup(\'' + un + "'," + tw.id + ', this); return false;"><small><small>▼</small></small></a>' +380 ' <a class="button popup" href="#" onClick="popup(\'' + un + "'," + tw.id + ', this); return false;"><small><small>▼</small></small></a>' + 380 381 '</span><br clear="left">'; 381 382 } … … 642 643 } 643 644 function setPreps(limit, maxc, maxu, plugin_list, style) { 645 writeCookie('ver', 0.1, 3652); 644 646 writeCookie('limit', limit, 3652); 645 647 writeCookie('max_count', maxc, 3652); … … 670 672 // 初回アップデート 671 673 setTimeout(update, 0); 672 setInterval(update, 30*1000);674 setInterval(update, 60*1000); 673 675 // ログインしていなかったときなどに20秒で本家にリダイレクト 674 676 failover_timeout = setTimeout(function(){ switchTo("misc"); $("tw2c").innerHTML = '<iframe style="display:block" src="http://twitter.com/home" width="100%" height="400"></iframe>' }, 20*1000); … … 693 695 if (window.addEventListener) window.addEventListener('DOMMouseScroll', wheel, false); 694 696 window.onmousewheel = document.onmousewheel = wheel; 697 695 698 loadXDomainScript('http://twitter.com/statuses/user_timeline.json?count=1&callback=twUser'); 696 699 </script>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)