Category Archives: JavaScript
Starting with jQuery – Learning basics
JQuery is a nice JavaScript library which enables us to make nice fancy effects. JavaScript can do this alone but it’s much easier to do it using jQuery. If you want to learn about jQuery here is a good starting point, it’s a presentation by Dmitri Gaskin. He is 12 year old, but he is very smart and talented he is involved in Drupal project and this presentation is from Google tech talk.
This video covers a lot of basic things about jQuery like:
- Manipulation
- Selectors
- Attributes
- Events and other
Enjoy!
How to make a javascript redirection script
If you need to redirect visitors from one page to another or if you changed the domain you need a redirection script. Redirection can be done in many different ways but i will show you the simplest way, that is using a java script. Java script only needs to be supported by browsers and every modern browser supports it. So java script is the best way for doing redirection.
The main part of redirection is to use window.location=”http://something.com”. Put this in one function and it will look like this:




You can’t have great software without a great team, and most software teams behave like dysfunctional families.


