套件名稱:
Dr.eye 英漢字典
1.1
作者 :
tad
Dr.eye 英漢字典
更新說明
「 Dr.eye 英漢字典
」簡介
Dr.eye 英漢字典搜尋區塊,使用時,請輸入英文即可。
安裝方式
- 到區塊管理,新增一個自訂區塊。
- 將底下內容貼到自訂區塊中
< script type = "text/javascript" > |
$(document).ready(function(){ |
$('#get_dreyedict').colorbox({iframe:true , width:'640' , height:'90%'}); |
$("#get_dreyedict").click(function(event) { |
$("#search_dreyedict").keypress(function(e){ |
code = (e.keyCode ? e.keyCode : e.which); |
< div class = "input-group" > |
< label for = "search_dreyedict" class = "sr-only" >英文單字</ label > |
< input type = "text" id = "search_dreyedict" class = "form-control" placeholder = "英文單字" > |
< span class = "input-group-btn" > |
< a href = "#" class = "btn btn-primary" id = "get_dreyedict" >查單字</ a > |
- 內容類型請設為
HTML
- 位置建議放在
左邊
Dr.eye 英漢字典
更新項目