The best way to built a numeric input field in HTML
I found the best way to input a numeric value is using a spinner. The users can type in the user, and they can use up and down arrow to adjust the value. That is very good user experiences. There is a similar component in WinForm, but there is not such input html field for web. Luckily, JQuery offers a solution for this purpose. It can convert a text field into a numeric field. You need to call this javascript
Code
$("#numeric").spinner() |
Please go to JQuery.ui.spinner website for further information
#
Afer I added The Colorbox as the lightbox jquery plug-in one of my projects. Yes, I added the reference of js and css files in my html file.
Code
$(".iframelink").colorbox({ iframe: true, width: "80%", height: "80%" }); |
I added the javascript to active the link. But when I clicked the link which calls a lightbox, there is an error,#
Drop Menu - Superfish
There are a number of drop down menu in JQuery. The most I used a lot is Superfish. Because it can convert a <ul> into a menu, just remember <ul> with sf-menu css class. Moreover, everything is under in CSS. Lastly, that is still fine in IE 6 too! So far, that can fulfill my requirements, I highly recommended it!
ColorBox- Jquery Light Box Plugin
I found a good Jquery Light Box Plugin, ColorBox. I love it, because it supports to load iframe in a light style. That is a better way to load a sub-page rather than using a pop-up windows. It is less annoying. Moreover, that is easy to use, just like this:
Code
$(".iframelink").colorbox({ iframe: true, width: "80%", height: "80%" }); |
ViewPagerIndicator(2)-Fragment
I started to use ViewPagerIndicator for a few weeks. I found out each "page" inside ViewPagerIndicator is a Fragment. If that is a simple page, it will extend Fragment. If that is a list, please extend ListFragment
Code
public class TaskFragment extends ListFragment{ |
That is very complex, I suggest to read the document from Android.com. We have to fully understand the fragment concept!