move rss ads to the right
This commit is contained in:
@@ -327,15 +327,21 @@
|
|||||||
if (image.length) {
|
if (image.length) {
|
||||||
var x = image.offset().left + image.width() + 50;
|
var x = image.offset().left + image.width() + 50;
|
||||||
var y = image.offset().top;
|
var y = image.offset().top;
|
||||||
if (x < 1050) {
|
if (x > $(window).width()) {
|
||||||
x = 1050
|
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 {
|
} else {
|
||||||
jlist.hide();
|
jlist.hide();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user