Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var jQuery, $ = null;
- function addJQuery(callback) {
- var p = null;
- if(window.opera || window.navigator.vendor.match(/Google/)) {
- var div = document.createElement("div");
- div.setAttribute("onclick", "return window;");
- p = div.onclick();
- }
- else {
- p = unsafeWindow;
- }
- jQuery = $ = p.jQuery.noConflict();
- callback();
- }
- var myFunction = function() {
- $('.#header .iconic > a').css('background-image','url("http://i.imgur.com/2QmZG.png")!important');
- /*$('li.tab.iconic').each(function (i) {
- var spanName = $(this).attr('id');
- var toRemove = '_button';
- var spanNameCrop = name.replace(toRemove,'');
- $(this).append('<span class="tooltip_label">'+spanNameCrop+'</span>');
- });*/
- }
- addJQuery(myFunction);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement