Uncategorized

Knockout container slider

Hello Guys, today i am sharing a container slider for knockout,  the slider is very easy to implement, you just need to create a div like this:

[html]</pre>
<div data-bind="SliderContainer:{width:700, height:480,indexField:Index}">
<div id="screen1">
screen1</div>
<div id="screen2">
screen2</div>
<div id="screen3">
screen3</div>
</div>
<pre>
[/html]

This will create an slider with three screens (screen1,screen2 and screen3). The screen that is currently visible is defined by the indexField (in this case Index), so with this configuration you could easily do something like this:

[dciframe]http://jsfiddle.net/EdgarRojas/hfvD9/embedded/result,js,html,css/*600*550*0*auto*border:1px solid blue;align:left;[/dciframe]

Hope ...

Continue Reading →
0

5 steps to read less and learn more

reading-catI used to read a lot, when i wanted to try something new i used to learn everything about it before even starting, result: i got bored on the process and just forget about it or i discovered something similar and then i wanted to learn about that as well… so i never started anything….

So with Continue Reading →

0

Smart Donations

Hello!, i just deployed my first WordPress plugin, Smart Donations. This plugin lets you pick different styles of donations and add them to your posts (as a shortcode) or to any sidebar (as a widget). Currently i am supporting four styles of donations:

smart_donations_screenshot

Type of Donations

  • Classic: Just the classic paypal button, you can configure it to show the credit card logos or not.
[sdonations]1[/sdonations]
  • Text Box: A ...
Continue Reading →
69

Using multiple versions of jquery ui

If you are creating a javascript component that relies on jquery-ui a good approach is to use your own jquery-ui library, the reason is that jquery-ui can be tailored in very different ways so you can not expect that all the websites will have the version that you need. But things are not that easy, if you include your own version of jquery you can potentially break another component that also uses jquery-ui. or even worse, if another component ...

Continue Reading →
4