jQuery im noConflict-Modus betreiben
This commit is contained in:
parent
5602f44935
commit
72937119e3
@ -27,8 +27,8 @@ function doWithMootols() {
|
|||||||
|
|
||||||
function doWithJQuery() {
|
function doWithJQuery() {
|
||||||
jQuery('a[name^="aeo-obfuscated-"]').each(function(i, el) {
|
jQuery('a[name^="aeo-obfuscated-"]').each(function(i, el) {
|
||||||
if (!$(el).hasClass('aeo-with-title')) {
|
if (!jQuery(el).hasClass('aeo-with-title')) {
|
||||||
$(el).attr('title',tooltip_js_on);
|
jQuery(el).attr('title',tooltip_js_on);
|
||||||
}
|
}
|
||||||
aeo_prepare_link(el);
|
aeo_prepare_link(el);
|
||||||
}
|
}
|
||||||
|
2
public/js/aeo.min.js
vendored
2
public/js/aeo.min.js
vendored
@ -2,7 +2,7 @@
|
|||||||
var map;onReadyAeo(function(){aeo_dom_ready();});function aeo_dom_ready(){if(window.MooTools){doWithMootols();}else if(window.jQuery){doWithJQuery();}}
|
var map;onReadyAeo(function(){aeo_dom_ready();});function aeo_dom_ready(){if(window.MooTools){doWithMootols();}else if(window.jQuery){doWithJQuery();}}
|
||||||
function doWithMootols(){$$('a').filter(function(el){return el.getAttribute('name')!=null&&el.getAttribute('name').match('^aeo-obfuscated-')=='aeo-obfuscated-'}).each(function(el){if(!el.hasClass('aeo-with-title')){el.setAttribute('title',tooltip_js_on);}
|
function doWithMootols(){$$('a').filter(function(el){return el.getAttribute('name')!=null&&el.getAttribute('name').match('^aeo-obfuscated-')=='aeo-obfuscated-'}).each(function(el){if(!el.hasClass('aeo-with-title')){el.setAttribute('title',tooltip_js_on);}
|
||||||
aeo_prepare_link(el);});}
|
aeo_prepare_link(el);});}
|
||||||
function doWithJQuery(){jQuery('a[name^="aeo-obfuscated-"]').each(function(i,el){if(!$(el).hasClass('aeo-with-title')){$(el).attr('title',tooltip_js_on);}
|
function doWithJQuery(){jQuery('a[name^="aeo-obfuscated-"]').each(function(i,el){if(!jQuery(el).hasClass('aeo-with-title')){jQuery(el).attr('title',tooltip_js_on);}
|
||||||
aeo_prepare_link(el);});}
|
aeo_prepare_link(el);});}
|
||||||
function aeo_prepare_link(el){el.setAttribute('href','javascript:aeo_link_decode(\''+el.getAttribute('href')+'\');');}
|
function aeo_prepare_link(el){el.setAttribute('href','javascript:aeo_link_decode(\''+el.getAttribute('href')+'\');');}
|
||||||
function rot13init(){this.map=new Array();var s="abcdefghijklmnopqrstuvwxyz";for(var i=0;i<s.length;i++)
|
function rot13init(){this.map=new Array();var s="abcdefghijklmnopqrstuvwxyz";for(var i=0;i<s.length;i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user