How to add a tooltip to an svg graphic?

You can use the title element as Phrogz indicated. There are also some good tooltips like jQuery’s Tipsy http://onehackoranother.com/projects/jquery/tipsy/ (which can be used to replace all title elements), Bob Monteverde’s nvd3 or even the Twitter’s tooltip from their Bootstrap http://twitter.github.com/bootstrap/

moving an element in JS

To move an element by changing it’s top value, the element can’t have a static position (the default). You’ll need to change the position to absolute, relative, fixed, etc…. Get the current top, left, etc… using Element#getBoundingClientRect, which will give you the correct initial value, and save you the need to parse a string. Since top needs to have a unit (px, em, … Read more

CodeIgniter removing index.php from url

Try the following Open config.php and do following replaces to In some cases the default setting for uri_protocol does not work properly. Just replace by .htaccess Note: .htaccess code vary depending on hosting server. In some hosting server (e.g.: Godaddy) need to use an extra ? in the last line of above code. The following line will … Read more