i have to problem
1. how can i remove these spaces between icons
2. when i click on my host an image it doesnt work but after that when i click on my host an music it work at host an image mini browser
the problem is i need to log in to see the quick reply box for me to see if there is any problem with codes i Do not need any Admin right's at this time thou just an account that gives me posting right'sqmars(pkq) wrote:bro u can see them here
http://lemon-13.full-forum.com/t463-topic
in quick reply
or u want adminestrator password?
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/mu.jpg', // button image
upload : 'http://lemon-13.com/m%20up/index.html', // iframe upload url
height : '400px', // iframe height
width : '600px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb').click(function() {
var X = $('.sceditor-button-pb').offset().left;
var Y = $('.sceditor-button-pb').offset().top + 25;
if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container').hide();
});
$('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/up.png', // button image
upload : 'http://lemon-13.com/upload-Center', // iframe upload url
height : '250px', // iframe height
width : '500px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb').click(function() {
var X = $('.sceditor-button-pb').offset().left;
var Y = $('.sceditor-button-pb').offset().top + 25;
if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container').hide();
});
$('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
.sceditor-button-servimg {
display:none !important;
}
.sceditor-button-time div {
display: none !important;
}
.sceditor-button-youtube div {
display: none !important;
}
.sceditor-button-fahide div {
display: none !important;
}
.sceditor-button-faspoiler div {
display: none !important;
background-position: 0px;
}
.sceditor-button-date div {
display: none !important;
}
.sceditor-button-dailymotion div {
display: none !important;
}
.sceditor-button-more div {
display: none !important;
}
.sceditor-button-horizontalrule div {
display: none !important;
}
.sceditor-button-table div {
background-position: 0px;
display: none !important;
}
.sceditor-button-servimg {
   display:none !important;
}
.sceditor-button-time div {
  display: none !important;
}
.sceditor-button-youtube div {
  display: none !important;
}
.sceditor-button-fahide div {
  display: none !important;
}
.sceditor-button-faspoiler div {
  display: none !important;
 background-position: 0px;
}
.sceditor-button-date div {
  display: none !important;
}
.sceditor-button-dailymotion div {
  display: none !important;
}
.sceditor-button-more div {
  display: none !important;
}
.sceditor-button-horizontalrule div {
  display: none !important;
}
.sceditor-button-table div {
 background-position: 0px;
  display: none !important;
Â
}
$(window).load(function() {
  var settings = {
    image : 'http://lemon-13.com/up.png', // button image
    upload : 'http://lemon-13.com/upload-Center', // iframe upload url
    height : '250px', // iframe height
    width : '500px' // iframe width
  };
Â
  $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
  $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
Â
  $('.sceditor-button-pb2').click(function() {
    var X = $('.sceditor-button-pb2').offset().left;
    var Y = $('.sceditor-button-pb2').offset().top + 25;
  Â
    if (!document.getElementById('pb_frame') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
    else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
    else $('#pb_container2').hide();
  });
Â
  $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
  $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
  $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/up.png', // button image
upload : 'http://lemon-13.com/upload-Center', // iframe upload url
height : '250px', // iframe height
width : '500px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb2').click(function() {
var X = $('.sceditor-button-pb2').offset().left;
var Y = $('.sceditor-button-pb2').offset().top + 25;
if (!document.getElementById('pb_frame') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container2').hide();
});
$('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/mu.jpg', // button image
upload : 'http://lemon-13.com/m%20up/index.html', // iframe upload url
height : '400px', // iframe height
width : '600px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb').click(function() {
var X = $('.sceditor-button-pb').offset().left;
var Y = $('.sceditor-button-pb').offset().top + 25;
if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container').hide();
});
$('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/up.png', // button image
upload : 'http://lemon-13.com/upload-Center', // iframe upload url
height : '250px', // iframe height
width : '500px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb2').click(function() {
var X = $('.sceditor-button-pb2').offset().left;
var Y = $('.sceditor-button-pb2').offset().top + 25;
if (!document.getElementById('pb_frame2') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame2" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container2').hide();
});
$('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
Ange Tuteur wrote:I forgot to switch the iframe ID, change the image upload to :
- Code:
$(window).load(function() {
  var settings = {
    image : 'http://lemon-13.com/up.png', // button image
    upload : 'http://lemon-13.com/upload-Center', // iframe upload url
    height : '250px', // iframe height
    width : '500px' // iframe width
  };
  $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
  $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
  $('.sceditor-button-pb2').click(function() {
    var X = $('.sceditor-button-pb2').offset().left;
    var Y = $('.sceditor-button-pb2').offset().top + 25;
 Â
    if (!document.getElementById('pb_frame2') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame2" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
    else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
    else $('#pb_container2').hide();
  });
  $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
  $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
  $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/up.png', // button image
upload : 'http://lemon-13.com/upload-Center', // iframe upload url
height : '250px', // iframe height
width : '500px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb2').click(function() {
var X = $('.sceditor-button-pb2').offset().left;
var Y = $('.sceditor-button-pb2').offset().top + 25;
if (!document.getElementById('pb_frame2') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame2" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container2').hide();
});
$('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
$(window).load(function() {
var settings = {
image : 'http://lemon-13.com/mu.jpg', // button image
upload : 'http://lemon-13.com/m%20up/index.html', // iframe upload url
height : '400px', // iframe height
width : '600px' // iframe width
};
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
$('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-pb').click(function() {
var X = $('.sceditor-button-pb').offset().left;
var Y = $('.sceditor-button-pb').offset().top + 25;
if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
else $('#pb_container').hide();
});
$('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});