juanc / jquery-jcal Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jquery-jcal
Automatically exported from code.google.com/p/jquery-jcal
What steps will reproduce the problem?
-------------------------------
1. Create a calendar with at least 2 month
2. set a selecttion range of 5 days
3. click on the last day of the month of the last calendar visible
4. change to the next month and you will notice that the range of
5. selection will change to 1 and the other 4 days will be lost.
What is the expected output? What do you see instead?
-------------------------------
it should not change the selection to 1 day even if the whole selection is not
inside the visible months
The way to fix it:
-------------------------------
in the click function add a line:
if(e.type == 'click') {
di = ds // ADD THIS LINE or Change "di" by "ds"
e.data.day = osDate;
e.data.callback( osDate, di );
$(e.data._target).data('day', e.data.day).data('days', di);
}
Original issue reported on code.google.com by [email protected]
on 1 Jul 2013 at 12:39
Now jQuery version is in v 2.0.0
There is a function in jCal 0.3.7 that doesn't work. It is a drop down on div
.month -> .monthYear & .monthName (the title on top of jCal).
The drop down menu to choose other years and months is not showed.
I would try to fix it. But, hopefully you update this awesome calendar.
Sometimes people doesn't need complex calendar such others awesome one.
Sometimes user want a great, simple, and lightweight plugin.
And it is jCal.
Thank You
Original issue reported on code.google.com by [email protected]
on 27 Apr 2013 at 11:21
1. create a jcal with showMonths: 3
2. scroll left
the "move right" icon will appear after the second calendar, instead of at the
end (after the 3rd).
tested with jcal.0.3.6
thanks a lot. i love jcal - it's exactly what I wanted.
Original issue reported on code.google.com by [email protected]
on 25 Feb 2011 at 3:25
The demo at the top of
http://www.overset.com/2008/05/12/multiday-calendar-datepicker-jquery-plugin/
has a serious issue - the selected date range functionality simply doesn't
function as one would expect as a result of the influence of the disabled 3rd
of every month...
To explain, if "number of days" is set to 4 and you place the cursor on the 1st
of the month, you would expect the 1st, 2nd, 4th, and 5th to be selected.
Alternatively, if the idea is to only allow the selection of *contiguous*
blocks of 4 days it should prevent the 3rd falling within the range at all,
hence the first valid start date within a month should be the 4th, with the 4
day range extending to the 5th, 6th and 7th, and the last valid start date in a
month should be the 30th in a month with 31 days, with the 4 day range
extending to the 31st, and the 1st & 2nd of the next month. Any attempts to
place the range where a disabled/unavailable day should be rejected with
appropriate visual indication (perhaps including the "not-allowed" cursor, see
http://www.quirksmode.org/css/cursor.html)
Both of the behaviours are rational & desirable in different circumstances and
your plugin should allow either to be selected.
However, your plugin currently does neither of these - instead it visually
truncates the range as you hover, and updates the date range selector to match
when you click. This may well be desirable too in some rare circumstances (I
can't think of any) I suggest that this should not be the default behaviour -
the contiguous range behaviour would be the safest default.
(Tested only in Chrome 9)
Original issue reported on code.google.com by [email protected]
on 7 Mar 2011 at 12:39
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.