
このバージョンはprototype.jsと併用すると不具合を起こします。http://d.hatena.ne.jp/gyuque/20060818で修正しています
おやびん(誰)の「あれこれポップアップ」をOpera9で動くように微修正しました。暇なときに本家に反映して頂けると幸いです。はい。
http://gyu.que.jp/data/ArekorePopup1.2.5_fixopera.zip
diff -cr ArekorePopup\ArekorePopup.css ArekorePopup_opera\ArekorePopup.css
*** ArekorePopup\ArekorePopup.css Sat Oct 04 18:05:24 2003
--- ArekorePopup_opera\ArekorePopup.css Sun Jul 16 21:52:42 2006
***************
*** 40,46 ****
clear: none !important;
/* clip: auto !important; */
color: inherit !important;
! content: "" !important;
counter-increment: none !important;
counter-reset: none !important;
cursor: auto !important;
--- 40,46 ----
clear: none !important;
/* clip: auto !important; */
color: inherit !important;
! /*content: "" !important;*/
counter-increment: none !important;
counter-reset: none !important;
cursor: auto !important;
diff -cr ArekorePopup\ArekorePopup.js ArekorePopup_opera\ArekorePopup.js
*** ArekorePopup\ArekorePopup.js Sat Oct 04 17:53:22 2003
--- ArekorePopup_opera\ArekorePopup.js Sun Jul 16 21:56:26 2006
***************
*** 513,518 ****
--- 513,522 ----
getAttr : function(node, attr) {
if (!node || !attr) return null;
+
+ if (window.opera && attr == 'class') // 2006-07-16 fixed for Opera
+ return node.className;
+
if (document.all) { // IE
if (attr == 'href' && node.nodeName.toLowerCase() == 'img') return null;
if (attr == 'class') attr += 'Name';
***************
*** 538,545 ****
node.setAttribute(prfx + ':' + attr, value);
}
} else {
! if (attr == 'class' && document.all) attr += 'Name'; // IE
! node.setAttribute(attr, value);
}
},
--- 542,553 ----
node.setAttribute(prfx + ':' + attr, value);
}
} else {
! if (window.opera && attr == 'class') { // 2006-07-16 fixed for Opera
! node.className = value;
! } else {
! if (attr == 'class' && document.all) attr += 'Name'; // IE
! node.setAttribute(attr, value);
! }
}
},