NetTalk Central

Author Topic: Positioning calendar window  (Read 7504 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Positioning calendar window
« 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

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Positioning calendar window
« Reply #1 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.
Mike Grigsby
Credify Systems
Central Oregon, USA

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Positioning calendar window
« Reply #2 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

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Positioning calendar window
« Reply #3 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.
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Positioning calendar window
« Reply #4 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

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Positioning calendar window
« Reply #5 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

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Positioning calendar window
« Reply #6 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Positioning calendar window
« Reply #7 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

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Positioning calendar window
« Reply #8 on: September 30, 2009, 07:25:38 AM »
Well, give this man a beer ... someone ... please   ;D

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Positioning calendar window
« Reply #9 on: September 30, 2009, 07:43:25 AM »
Any idea yet on pricing?
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Positioning calendar window
« Reply #10 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!

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Positioning calendar window
« Reply #11 on: September 30, 2009, 11:15:02 PM »
any price on the separate PHP component?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Positioning calendar window
« Reply #12 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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Positioning calendar window
« Reply #13 on: October 02, 2009, 03:34:41 PM »
Cool