var start, end;
// IE
- if (document.selection) {
+ if (document.selection && !window.opera) {
// t.focus(); // focusなしでもいける
var x, y;
- if (document.selection) {
+ if (document.selection && !window.opera) {
var range = document.selection.createRange();
x = range.offsetLeft +
t.focus();
// for IE
- if (document.selection) {
+ if (document.selection && !window.opera) {
// 選択範囲を取得
var range = document.selection.createRange();
t.focus();
// IE
- if (document.selection) {
+ if (document.selection && !window.opera) {
var range = document.selection.createRange();
range.text = func(range.text);