Tuesday, February 18, 2014

JQuery remove !important

I have searched a lot. And i couldn't find solution how to remove the option. But i found that you can set another one attribute with jquery with important option, so you could overlap old style.

Here is code i have used for changing background-color of element - body which had background-color attribute with important option.

$("body").css("cssText","background-color: #FFF !important");

Monday, February 17, 2014

Experiment code missing the cookie domain name declared in tracking code

If you still dont know why you get the error:

Your google analytics code had "subdomain" enabled mode. for example www.igloro.info is main domain, and kambariokai.igloro.info is subdomain and it has enabled subdomain mode.
When I have tried to create experiment I got the error.


  1. Open your google analytics code and copy _setDomainName.
  2. Open code which you have added into your . And add code before experiment code replacing domain name with your one:

Saturday, February 1, 2014

How to install sublime text 2 for newbies

In the tutorial ill write how to install sublime text 2, SFTP ( ftp remote connection ), emmet ( newest zen coding ), new theme.

Why sftp?

  • Because most of time i edit files of php,css,html directly.
Why emmet?
  • It will save your time while coding.

How to step by step:
  1. Download newest version from http://www.sublimetext.com/ ( Direct url 2.0.2 setup )
  2. First of all new theme. Get it here: http://colorsublime.com/ ( Choose one of them download and so on... instructions: http://colorsublime.com/how-to-install-a-theme
  3. Now, install emmet. Download it from here: https://github.com/sergeche/emmet-sublime ( Download zip, on right side. or Direct url master.zip ) , Instructions are on same page with subheader "how to install".
  4. Now, sftp. SFTP requires package control. So go here: https://sublime.wbond.net/installation and grab code for sublime text 2. Open your sublime text 2 console with command ctrl+` and enter code. Done. Now you able to install packages. So search package installer with ctrl+shift+p ( Package Control: Install Package ). Search for SFTP. More instructions can be fount on official site here: http://wbond.net/sublime_packages/sftp/installation or not official here: http://www.brentmountford.com/tutorials/sublime-text-2-sftp-setup-usage/
  5. Done.