move rss ads to the right

This commit is contained in:
albert
2013-02-25 20:50:01 -05:00
parent cd6216b68a
commit e86e6b286f

View File

@@ -327,15 +327,21 @@
if (image.length) {
var x = image.offset().left + image.width() + 50;
var y = image.offset().top;
if (x < 1050) {
x = 1050
if (x > $(window).width()) {
jlist.css({
position: "absolute",
width: "108px",
left: x + "px",
top: y + "px"
});
} else {
jlist.css({
position: "absolute",
width: "108px",
right: "10px",
top: y + "px"
});
}
jlist.css({
position: "absolute",
width: "108px",
right: "10px",
top: y + "px"
});
} else {
jlist.hide();
}