Yoshihisa Fukuhara
higef****@users*****
2006年 3月 3日 (金) 12:55:05 JST
Index: affelio/apps/diary/templates/show_trackback.tmpl
diff -u affelio/apps/diary/templates/show_trackback.tmpl:1.6 affelio/apps/diary/templates/show_trackback.tmpl:1.7
--- affelio/apps/diary/templates/show_trackback.tmpl:1.6 Wed Mar 1 22:09:34 2006
+++ affelio/apps/diary/templates/show_trackback.tmpl Fri Mar 3 12:55:04 2006
@@ -16,8 +16,8 @@
<br />
<br />
<form name=obj>
-<input type=hidden name=copy value="<TMPL_VAR NAME="PING_URL">">
-<input type=button onClick="clip_copy(1)" value="ãã®ã¢ãã¬ã¹ãã¯ãªãããã¼ãã«ã³ãã¼"><br>
+<input type="button" value="ãã®ã¢ãã¬ã¹ãã¯ãªãããã¼ãã«ã³ãã¼" id="btnSetText" onClick='window.clipboardData.setData("text","<TMPL_VAR NAME="PING_URL">")'>
+<br />
</form>
</div><!-- afPubContentBlock -->
@@ -41,15 +41,3 @@
</div>
-
-<script>
-function clip_copy(p) {
- if (document.all && navigator.userAgent.match(/windows/i)) {
- copy_obj = document.obj.copy[p - 1].createTextRange()
- copy_obj.execCommand("Copy")
- alert("ã¢ãã¬ã¹ãã¯ãªãããã¼ãã«ã³ãã¼ãã¾ããã");
- }
-}
-</script>
-
-