RSS
 

Archive for October, 2011

jQuery Plugin – Image Radio buttons

12 Oct

At work I’ve written this jQuery plugin. It’s only 2KB big and turns your normal radio buttons into images, you can set any images you like for src, checked and hover. Simply attach the configuration to your html input field as the class attribute as a JavaScript like object. I know you might want to attach a class to your radio buttons, but this is how far it currently is.

Here an example:

Get the JavaScript code
Get the HTML/JavaScript code

Edit: Just found this which seems to make this plugin obsolete. :-( Wish I would have found this earlier…

 

Ubuntu on Asus N53S(V)

08 Oct

To install Ubuntu with a working NVIDIA card on this laptop. Follow these instructions:

  1. Follow https://help.ubuntu.com/community/Asus_N53
  2. Add this to your modules blacklist in /etc/modprobe.d/blacklist.conf:
    blacklist nouveau
    blacklist fbcon
    blacklist vga16fb
  3. Run 3D Graphics intensive applications like Google Earth with
    optirun google-earth
  4. Optional: Mount Windows NTFS partition in /etc/fstab:
    /dev/sda5       /d      ntfs    noexec,nosuid   0       0

Edit: You might not need to add the blacklist. I’ve just setup 11.04 64 bit and did not black list the drivers and it works! Remember to NOT enable the additional drivers in this setup because it will override your Intel Drivers, which are good because you can still run 3D apps but with less power consumption.