diff options
Diffstat (limited to 'public/javascripts/shadowbox/adapters/shadowbox-yui.js')
| -rw-r--r-- | public/javascripts/shadowbox/adapters/shadowbox-yui.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/public/javascripts/shadowbox/adapters/shadowbox-yui.js b/public/javascripts/shadowbox/adapters/shadowbox-yui.js deleted file mode 100644 index f045d76..0000000 --- a/public/javascripts/shadowbox/adapters/shadowbox-yui.js +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | if(typeof YAHOO=="undefined"){throw"Unable to load Shadowbox adapter, YAHOO not found"}if(typeof Shadowbox=="undefined"){throw"Unable to load Shadowbox adapter, Shadowbox not found"}Shadowbox.lib=function(){var a=YAHOO.util.Event;var b=YAHOO.util.Dom;return{getStyle:function(d,c){return b.getStyle(d,c)},remove:function(c){c.parentNode.removeChild(c)},getTarget:function(c){return a.getTarget(c)},getPageXY:function(c){return[a.getPageX(c),a.getPageY(c)]},preventDefault:function(c){a.preventDefault(c)},keyCode:function(c){return c.keyCode},addEvent:function(e,c,d){a.addListener(e,c,d)},removeEvent:function(e,c,d){a.removeListener(e,c,d)},append:function(e,d){if(e.insertAdjacentHTML){e.insertAdjacentHTML("BeforeEnd",d)}else{if(e.lastChild){var c=e.ownerDocument.createRange();c.setStartAfter(e.lastChild);var f=c.createContextualFragment(d);e.appendChild(f)}else{e.innerHTML=d}}}}}();YAHOO.util.Event.onDOMReady(Shadowbox.load); \ No newline at end of file | ||
