How to render a event within time slot in full calendar? - javascript

In my project, I want to place an event within time range. For example 09:00 am to 10:00 am. I Googled many times, but not links found.

I'm not clear if you are asking help to make a full calendar using jQuery.
More information might be better.
Anyway, I think this will help you.
jQuery Calendar time selection suggestion

Related

Bootstrap Calendar order of events in week view

I have a high interest in creating my own event calendar/scheduler for my site and found Bootstrap Calendar, it has real potential. I looked at dhtmlxScheduler but its hard to customize the look, it has a lot of nice features though. I have a Fullcalendar now and I like the new Scheduler but I still want a more custom look and some custom functionally.
My JS/Jquery is limited so it makes it difficult to get a real picture of BS-Cal layout and unfortunately there seems to be little documentation other than comments in the code.
So my issue with BS-Cal is the event ordering/stacking in the week view.
The Question - Can the events be reordered in a per day list like the 2nd photo below.
So far - I see the offset class for the columns and the events but the events seem to be wrapped in a "row" div which forces a single "list" for the whole week rather than per day placement order left to right on the table.
Here is what I believe is happening:
This is what I'm hoping to accomplish:

Create a timeline in rails / html / js

I'm working on a Rails app that has events in it, and I'd like to be able to show a timeline of events. There's an Event model, and events have a start_date and end_date.
I can show the events by date etc without any problem. However, what I'd like to be able to do is create a horizontal "timeline", similar to the network graph on Github. Basically I'd like to be able to plot a graph with lines from the start date to the end date, and for any given set of events I'd like the timeline on the top to start with the date of the earliest event and then span horizontally in even increments of time to the end date of the last event.
How would you accomplish something like that in HTML / JS? I believe I understand the server side of things enough to pull any needed data from the app, what I don't understand is how to make a view out of it. To be honest I'm not even sure where to start.
I really appreciate any feedback or suggestions on how to get started in tackling this. I realize this question is more open-ended than ideal, I'll be happy to try and make it more specific in response to comments.
try event_calendar, you may see some screen shots here and this is the railscast
HTH :)

workflow / option to expand other options?

I have a question about a conference quotation form that I am building.
Once the user enters various information such as the conference date, number of delegates etc, I need other options to appear dependant on the duration of the conference. ie. If the user inputs dates showing that the conference will last 3 days - then 3 "sections" needs to appear for each day of the conference with inputs regarding meals for that particular day, etc.
What route could I take to accomplish this?
I am struggling to explain - so If i am not clear, please tell me and I will try to explain better
thank you
I'm sure you'll find something here: jquery datepicker difference
If you have the difference in days you can simply add a for loop
for(var i=0;i<differenceInDays;i++){
$('#days').append('<input name="day'+i+'"/>');
}

jQuery Datepicker beforeShowDay - range selected

I'm doing a website for an hotel, and I'm trying to do a datepicker to book the days that somebody wants to stay there.
http://jsfiddle.net/newpatriks/PmPGV/
Here you have that I have done, but I've some problems:
I don't know why, but when the users select the range days, the calendar starts from the month that contains the "end day" choosen.
The css run ok for the .temp_1, but not going well for the .temp_2 and .date_selected (I'm going crazy about this...)
Thanks a lot :)
JQuery Datepicker has a built in range select: datepicker/date-range.
Here is an example from the following question: jQuery datepicker- 2 inputs/textboxes and restricting range

javascript calendar

I was wondering if there was a simple way to make a topdown list calendar for a website. I don't want to use the google calendar. I would also want the calendar to show like the next 5 events and hide the rest until the 5 shown have already happened. If there is a way to do this with jquery I wouldn't mind doing that either.
Here's a good starting point:
http://www.javascriptkit.com/script/cutindex1a.shtml
Just about every layout for a calender structure, and then event-show limiting etc could be implemented by you at the end. At the least it'll give you a base with which to work from.
Hope that helps.

Categories

Resources