If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

That's a real question. I don't know that I could find one (except in some "antiquities archive"). I know of a text only browser, but it doesn't support JavaScript so the lack of document.getElementById is a moot point.

????

Last edited by Old Pedant; 10-06-2012 at 01:36 AM.

An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.

Anyway, I don't think that's going to be particularly helpful for him. Yes, it creates a text list of times at nearly any interval you want. But given that he is looking a jQuery plugins, I suspect he would have no idea at all how to match that up with his chart.

I think he needs to show us what his Gantt chart looks like, first, before we can help him create the kind of interval markers he wants.

An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.

Just curious.. to create a Gantt chart with JS (assuming we don't use a canvas) I would probably use a table with different background colours or images, and the occasional absolute-positioned images to sit atop.

I see some Gantt charts with arrows; I suppose these could be a handful of precisely measured images - so that they meet the cells at the correct points(?). Or, better/simpler, don't use arrows! KISS

"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

WOW! Do you actually think you can *FIND* a browser, today, that will make use of this code: ... That's a real question. I don't know that I could find one (except in some "antiquities archive").

I try to always test what I write before posting it. I wrote it and originally tested only in Opera, but, based on your question, I've now gone back to test Internet Explorer, Firefox, and Safari. It works in all of them. What browser do you have that can't handle it?

Anyway, I don't think that's going to be particularly helpful for him. Yes, it creates a text list of times at nearly any interval you want. But given that he is looking a jQuery plugins, I suspect he would have no idea at all how to match that up with his chart.

I answered his base question. If he wants more, he can always ask.

I think he needs to show us what his Gantt chart looks like, first, before we can help him create the kind of interval markers he wants.

That's true. Every question should be specific about what is needed so that we can give excellent responses.

I try to always test what I write before posting it. I wrote it and originally tested only in Opera, but, based on your question, I've now gone back to test Internet Explorer, Firefox, and Safari. It works in all of them. What browser do you have that can't handle it?

He did not say that the browser could not handle it. His point is that the code is totally redundant as there is no modern browser that does not support document.getElementById(). That suggests that the code is rather old. I would have thought that a professor seeking to give "excellent responses" would know that"

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

He did not say that the browser could not handle it. His point is that the code is totally redundant as there is no modern browser that does not support document.getElementById(). That suggests that the code is rather old. I would have thought that a professor seeking to give "excellent responses" would know that"

The "excellent responses" part had a "we" in front of it, indicating that "we as a group of people trying to help others" might be able to give those responses once we are told what he really wants.

Who's a professor?! I'm a puppy who learned to type with his teeth. Canines, of course. <grin>

Hi! Thanks to everybody for your responses. Actually, the example provided by vwphilips is pretty similar to what I need, but it is a bit too basic.

You can find one of the examples I talked about in my first post following this link: http://taitems.github.com/jQuery.Gantt/. This chart suites my needs except the (essencial) fact that hours and minutes are not correctly represented. Unfortunately, I have not enough time to modify the source code to suite my needs.