Giter Site home page Giter Site logo

jquery-jcal's People

jquery-jcal's Issues

Problem on selection between differents month

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

jCal in overset still use jQuery 1.2

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

display bugs with showMonths: 3

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

Confusing/illogical date range behaviour when intersecting a disabled/unavailable date

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.