Feb. 9th, 2015

scaly_toad: (Default)
По-умолчанию выпадающиее меню в Bootstrap раскрываюется при клике и сворачивается тоже только при клике мышкой.

Было бы не плохо, чтоб раскрытие и сворачивание меню происходило при наведении мышки. И это сделать совершенно не сложно! Для этого нужно лишь добавить CSS правило:

.dropdown:hover > .dropdown-menu {
display: block;
}

И выпадающее меню реагирует на наведение.

(c) http://knigun.com/bootstrap-form-in-dropdown/
scaly_toad: (Default)
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

sudo apt-get install nvidia-current-update
sudo nvidia-xconfig

sudo gedit /etc/X11/xorg.conf

In the file, locate: Section Monitor and increase the horizontal sync and vertical refresh frequency.
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 72.0
VertRefresh 43.0 - 60.0
EndSection

Restart... И вуаля!

$ inxi -Gx
Graphics: Card: NVIDIA GF108M [GeForce GT 540M] bus-ID: 01:00.0 X.Org: 1.15.1 driver: nvidia Resolution: 1920x1080@59.9hz
GLX Renderer: GeForce GT 540M/PCIe/SSE2 GLX Version: 4.2.0 NVIDIA 304.125 Direct Rendering: Yes

Кулер видеокарты перестал шуметь, осталось тихое подвывание. Температура падает на глазах.

Profile

scaly_toad: (Default)
scaly_toad

April 2026

S M T W T F S
   1 234
567 8 9 1011
1213141516 1718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 18th, 2026 03:53 pm
Powered by Dreamwidth Studios