Click here
Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts
Monday, April 26, 2010
Travian Attack Time Calculator
This little program I created based on a formula given from a forumer. It can calculate the time of arrival and departure of soldiers in travian game..if u played that game before you'll know what I'm talking 'bout..
Click here
Click here
Friday, April 23, 2010
jQuery: Newsreel @ newsticker
Live demo: GO
How It Work??
-define first news into variable first
-using fadeOut(), make the first news slowly disappear then completely remove the news that has been shown
-then, append next news to view and loop this process
To change interval between each news, set@alter the pause variable value in miliseconds
This newsreel useful to put into your website front page to alert user about latest news. The news also can retrieved from database though it may require some coding.
P.s: in php, you can use include() to include this file. Dont forget to include jquery.js into same directory too..:D
How It Work??
-define first news into variable first
-using fadeOut(), make the first news slowly disappear then completely remove the news that has been shown
-then, append next news to view and loop this process
To change interval between each news, set@alter the pause variable value in miliseconds
This newsreel useful to put into your website front page to alert user about latest news. The news also can retrieved from database though it may require some coding.
P.s: in php, you can use include() to include this file. Dont forget to include jquery.js into same directory too..:D
jQuery: Collaps and expandable panel
Live demo: GO
How it works:
1. Load jquery.js from directory
2. Create flip, panel and contents with help of CSS
3. Now, this is the flow.
i - By clicking p element with class="bar", it will
#collapse/expand the next div with class="content">> this is using slideToggle() and next()
#change clicked bar text value to "show/hide"(depends on panel state) >> using .html()
To view source code, simply right click in browser and select view source code. This demo is built by utilizing slideToggle() function in jQuery.
How it works:
1. Load jquery.js from directory
2. Create flip, panel and contents with help of CSS
3. Now, this is the flow.
i - By clicking p element with class="bar", it will
#collapse/expand the next div with class="content">> this is using slideToggle() and next()
#change clicked bar text value to "show/hide"(depends on panel state) >> using .html()
To view source code, simply right click in browser and select view source code. This demo is built by utilizing slideToggle() function in jQuery.
Subscribe to:
Posts (Atom)