new event rendered at wrong time

105 views
Skip to first unread message

nodell

unread,
Nov 11, 2009, 8:43:35 PM11/11/09
to jquery week calendar
I'm using the 1.2.2 release and am having difficulty when creating
multiple events in the same day. For example, if I create an event
from 8 am to 9 am that works fine. If I then however attempt to create
an event from 9 am to 10 am, the event is created, and the title shows
the correct time, but it's placement in the calendar is offset by the
amount of the first appointment that I've added. So, the 2nd event
shows a correct time frame of 9 am to 10 am in the title, but it's
position in the calendar is from 10 am to 11 am.

I seem to recall having this same problem in 1.2.1 and found a fix for
it - but promptly forgot it. And it's not coming back to me very
easily this time.

Any assistance is appreciated.

Neil

nodell

unread,
Nov 12, 2009, 11:27:07 AM11/12/09
to jquery week calendar
figured this out.

in case anyone else runs into the same problem....
you need to reference your jqueryui theme css prior to referencing the
jquery.weekcalendar.css

the following will work:
<link rel="stylesheet" type="text/css" href="css/ui-lightness/jquery-
ui-1.7.2.custom.css" />
<link rel="stylesheet" type="text/css" href="css/
jquery.weekcalendar.css"/>

the following will cause the issue I described in my original post:
<link rel="stylesheet" type="text/css" href="css/
jquery.weekcalendar.css"/>
<link rel="stylesheet" type="text/css" href="css/ui-lightness/jquery-
ui-1.7.2.custom.css" />

- neil

(thanks for a great calendar Rob!)

Rob Monie

unread,
Nov 12, 2009, 5:21:14 PM11/12/09
to jquery-wee...@googlegroups.com
thanks for posting your solution neil!

Warp Kid

unread,
Nov 18, 2009, 12:01:49 PM11/18/09
to jquery week calendar
Thanks man - Ive already wasted a day on this little problem! How did
you think to move the css order around? :)

SNelson

unread,
Dec 10, 2009, 9:24:58 AM12/10/09
to jquery week calendar
Oh my gosh.
Thank you for sharing that solution.

I don't think I would have EVER thought to consider the load order of
the CSS!
Was going cross-eyed trying to figure out what was wrong with my date
format.
Really appreciate that you took the time to post the fix.
Steve
Reply all
Reply to author
Forward
0 new messages