-
Par NiiiiLink le 7 Juillet 2009 à 22:37Small View Collect <script type="text/javascript">// <![CDATA[ document.getElementById('collect-button').onclick = function () { var node, rel; function mousedown (e, target) { if (!Tree.ancestor(target, 'div.collect-bubble')) { Tree.get('#deviation-collect-bubble').style.display = 'none'; // show the previously hidden flash container if (!Tree.get('div.filmspot')) { var devDiv = Tree.get(Tree.get('#zoomed-in'),'iframe.flashtime'); if (devDiv) { devDiv.style.display = ''; } } Events.unhook(document.documentElement, 'mousedown', arguments.callee); } } if (!Tree.get('div.filmspot')) { // hide Flash deviations when collecting var devDiv = Tree.get(Tree.get('#zoomed-in'),'iframe.flashtime'); if (devDiv) { devDiv.style.display = 'none'; } } node = Tree.get('#deviation-collect-bubble'); if (Browser.isIE) { if (node.firstChild.tagName.toLowerCase() != 'iframe' && Tree.get('iframe')) { node.insertBefore(Tree.create('iframe'), node.firstChild); } } if (node.style.display != 'block') { rel = !Tree.get('div.filmspot'); node.style.left = (rel ? 114 : 152) + 'px'; node.style.top = (Ruler.document.node(Tree.get('#collect-button')).y - (rel ? Ruler.document.node(Tree.get('div.bubbleview')).y : -7) - 6) + 'px'; node.style.display = 'block'; Events.hook(document.documentElement, 'mousedown', mousedown); } if (window.DWait) { DWait.ready('jms/pages/lub.js', 'da_minish_lub.slide()'); } return false; } // ]]></script> Share This/Blog ItDownloadSend to Mobile Edit DeviationDelete Deviation<script language="javascript">// <![CDATA[ function lotaPimpin(action) { if (window.LOTCC) { LOTCC.bcpw("act","share deviation"); LOTCC.bcpw("int",action); } } // ]]></script>
votre commentaire
Suivre le flux RSS des articles de cette rubrique
Suivre le flux RSS des commentaires de cette rubrique