There is no magic element you can add to the head of the document which means "fix all of the coding mistakes I've made and just make it work". If you want us to help you fix your code, you will have to show us your code.
Joined: Jun 22, 2012
Yes it is true, send you code would very helpful.
What do you think about the next code
The problem I see is that js is executed after the browser is load the first time then this code could be useless