Showing posts with label Web Design. Show all posts
Showing posts with label Web Design. Show all posts

Monday, October 3, 2011

JavaScript Calender Control

 Follow this link:

https://engineering.purdue.edu/ECN/Support/KB/Docs/JavascriptCalendar

Above calender format is mm-dd-yyyy. If you want format dd-mm-yyyy then you need to do little bit following changes in javascipt file:

1) In function setDate(year, month, day),

Replace 
      var dateString = month+"-"+day+"-"+year;
with
     var dateString = day+"-"+month+"-"+year;

2) In function show(field)

Replace
        selectedMonth = parseInt(dateParts[0],10);
        selectedDay = parseInt(dateParts[1],10);
 with
        selectedDay = parseInt(dateParts[0],10);
        selectedMonth = parseInt(dateParts[1],10);

Wednesday, September 28, 2011

Good Web Design Property


1) http://omniinfo.in/ :- In this site, All menus tab are link to same page. i.e, In only one page, all information are showing. Very efficiently moving to one detail to another details in same page after clicking menu tab. Check it, you will amazed.