NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: alex.kolaric on September 29, 2009, 06:44:18 AM

Title: Positioning calendar window
Post by: alex.kolaric on September 29, 2009, 06:44:18 AM
Hi,

is there any way to position calendar window so it opens besides the calendar lookup button?

thanks,
Alex
Title: Re: Positioning calendar window
Post by: Mike Grigsby on September 29, 2009, 09:56:34 AM
Alex, it can be done with Javascript, but it is no trivial task. It's a big enough pain to position the popup where you want it, but it's as big of pain to figure out some code to determine where the field is on the page. Add to that different browsers, and it's a mess. I've thought about it, tried a few things, but been content to put it dead center in the window.
Title: Re: Positioning calendar window
Post by: alex.kolaric on September 29, 2009, 12:44:52 PM
Thanks Mike,

willing to share your wisdom on this? Which script should I change to put it in the center of the screen? I was trying whole bunch of things with calendar2.js and calendar6.js today but with no luck, as if I'm not doing anything.

best regards,
Alex
Title: Re: Positioning calendar window
Post by: Mike Grigsby on September 29, 2009, 05:26:38 PM
Wisdom, or code?<g> I think I can scrounge up some code I use, but it's on another machine. I'll try to find it and upload.
Title: Re: Positioning calendar window
Post by: Bruce on September 29, 2009, 10:26:15 PM
Hi Alex,

don't spend too much time on this. I've implemented the jQuery calendar in NetTalk 5 so the old lookup will be deprecated. The new one has a gazillion features but it's also "part" of the actual page so rather than opening another "window" the calendar pops up exactly where you want it.

I've also coded it so it supports _all_ the Clarion date pictures (@D1 through @D16). So there's a lot more freedom with the new popup. You can also limit the lookup to a specific date range - and lots of other things. It's _very_ cool (even if all it is is a date lookup.)

Cheers
Bruce
Title: Re: Positioning calendar window
Post by: alex.kolaric on September 29, 2009, 11:02:05 PM
Hi Mike,

well wisdom = code in our business most of the time <g> ... so I guess yes ... I wouldn't mind taking a sneak peak.

Thank you very much for your help.

Alex
Title: Re: Positioning calendar window
Post by: alex.kolaric on September 29, 2009, 11:09:57 PM
thanks Bruce,

and now the 1 million dollar question .... when? when? when?  :)

Now, seriously. Do you have any target date for 5 roughly? Cause we are in the middle of one project so it helps to know if the waiting will be an option.

best regads,
Alex
Title: Re: Positioning calendar window
Post by: Bruce on September 30, 2009, 07:00:56 AM
It'll hit the streets on October 12th 2009, at about 7am GMT. (seriously - I'm not joking.)

That's not such a rough target date now is it.

Cheers
Bruce
Title: Re: Positioning calendar window
Post by: alex.kolaric on September 30, 2009, 07:25:38 AM
Well, give this man a beer ... someone ... please   ;D
Title: Re: Positioning calendar window
Post by: Mike Grigsby on September 30, 2009, 07:43:25 AM
Any idea yet on pricing?
Title: Re: Positioning calendar window
Post by: Bruce on September 30, 2009, 10:18:23 PM
At this stage it looks like the upgrade will be $299 - although that's not cast in stone yet.

cheers
Bruce

PS - Beer only slows it down!
Title: Re: Positioning calendar window
Post by: kevin plummer on September 30, 2009, 11:15:02 PM
any price on the separate PHP component?
Title: Re: Positioning calendar window
Post by: Bruce on October 01, 2009, 09:19:04 PM
Hi Kevin,

The only dependency for PHP is OddJob
http://www.capesoft.com/accessories/OddJobsp.htm
That's already available and currently on special for $59.

cheers
Bruce
Title: Re: Positioning calendar window
Post by: kevin plummer on October 02, 2009, 03:34:41 PM
Cool