Ken2812221(留言墙 | 貢獻) 小无编辑摘要 标签:sourceedit |
Ken2812221(留言墙 | 貢獻) 小无编辑摘要 标签:sourceedit |
||
第25行: | 第25行: | ||
$('.wikia-logo').attr('href', 'http://zh.tos.wikia.com/wiki/臨時主頁'); |
$('.wikia-logo').attr('href', 'http://zh.tos.wikia.com/wiki/臨時主頁'); |
||
+ | |||
+ | $('a[href=http:\/\/www.facebook.com/zhtoswikia]').attr('target', '_blank'); |
||
})(); |
})(); |
2015年3月29日 (日) 11:36的版本
<script> (function Terry2(){ if(typeof jQuery == "undefined") { setTimeout(Terry2, 100); return; }
var questions = $('.question');
var temp = questions.children("center").not(':eq(-1)'); temp.children().css('cursor', 'pointer'); temp.find(':first-child').children().click(function() { var current = $(this).parents('.question:eq(0)'); current.hide(); questions.eq(parseInt(current.data('yes')) - 1).show(); }); temp.find(':nth-child(2)').children().click(function() { var current = $(this).parents('.question:eq(0)'); current.hide(); questions.eq(parseInt(current.data('no')) - 1).show(); });
questions.eq(0).show();
$('.wikia-logo').attr('href', 'http://zh.tos.wikia.com/wiki/臨時主頁');
$('a[href=http:\/\/www.facebook.com/zhtoswikia]').attr('target', '_blank');
})(); </script>