<script type="text/javascript" src="http://cssrevolt.com/upload/files/zoomy/js/prototype.js"></script>
<script type="text/javascript" src="http://cssrevolt.com/upload/files/zoomy/js/scriptaculous.js?load=effects,dragdrop"></script>
<script type="text/javascript" src="http://cssrevolt.com/upload/files/zoomy/js/effects.js"></script>
<script type="text/javascript" src="http://cssrevolt.com/upload/files/zoomy/js/dragdrop.js"></script>
<script type="text/javascript" src="http://cssrevolt.com/upload/files/zoomy/js/zoomy.js"></script>
<script type="text/javascript">
Event.observe(window,"load",function() {
$$("div.entry-content a").each(function(element){
new Zoomy(element, { draggable: true });
});
});
</script>
/* thumbnails grid */ .zoomy, .zoomy2 { float:left; width:100%; } .zoomy li, .zoomy2 li { list-style:none; float:left; display:inline; margin-right:5px; margin-bottom:5px; width:150px; height:100px; } .zoomy a, .zoomy2 a { text-decoration:none; display:block; width:150px; height:100px; } /* ..... ZOOMY */ #zoomy { position:absolute; overflow:hidden; background:#000000; padding:0px; border:1px solid #FFFFFF; text-align:center; color:#fff; line-height:0; } #zoomy img { margin:5px; } #zoomy p { position:relative; margin:10px 5px 5px 5px; line-height:100%; text-align:left } #close { position:absolute; right:5px; width:12px; height:12px; background:url(close.gif) no-repeat; cursor:pointer;}
基本的に”prototype.js”はjQeryとは競合するので、もし共存させたければこの記事を参考に
「jQueryとprototype.js共存させる為にする事」