Пример анимации справа налево без jQuery UI , только с jQuery (любая версия, см. https://api.jquery.com/animate/ ).
$(document).ready(function() {
var contentLastMarginLeft = 0;
$(".wrap").click(function() {
var box = $(".content");
var newValue = contentLastMarginLeft;
contentLastMarginLeft = box.css("margin-left");
box.animate({
"margin-left": newValue
}, 500);
});
});
.wrap {
background-color: #999;
width: 200px;
overflow: hidden;
}
.content {
width: 100%;
margin-left: 100%;
background-color: #eee;
}
click here
I would like to have a div go from collapsed to expanded (and vice versa), but do so from right to left. Most everything I see out there is always left to right.
При настройке статического IP-адреса вы можете настроить сервер имен с помощью dns-nameservers
, как показано ниже. Вам не нужно настраивать /etc/resolvconf/resolv.conf.d/base. Вот мое содержимое / etc / network / interfaces.
auto eth0
iface eth0 inet static
address 192.168.11.21
netmask 255.255.255.0
network 192.168.11.0
broadcast 192.168.11.255
gateway 192.168.11.1
dns-nameservers 192.168.11.1