This topic is locked

Editing Dates in the drop down Cal

1/6/2012 4:00:08 PM
ASPRunnerPro General questions
F
FND author

Hello,

I was handed a project that someone else strated and now I just need to change the drop down for the Calendar to show last years date. I have been through the forums and tried a few diffrent things that I have seen posted here, but I have not had any success in adding 2011 back to the drop down. It curntly shows 2012 - 2023. Any help would be great.
I have tried editing the variables in the calendar.html
var currentyear=(new Date()).getFullYear();

var lo=currentyear-3;

var hi=currentyear+3;

if(dt_current.getFullYear()>hi-3)

hi=dt_current.getFullYear()+3;

if(dt_current.getFullYear()<lo+3)

lo=dt_current.getFullYear()-3;

for(i=lo;i<=hi;i++)
I was just trying to cahnge it to 3 years back and 3 years forward. But these changes did no ttake affect.
Thank you in Advance.

Chuck
I belive the sofeware is ASP runner.

F
FND author 1/10/2012

Hello? Is ther any one here form support? I have emailed this link to support and have been wating for some kind of response? Is ther more info you need? If so please let me know and I will get it for you.



Hello,

I was handed a project that someone else strated and now I just need to change the drop down for the Calendar to show last years date. I have been through the forums and tried a few diffrent things that I have seen posted here, but I have not had any success in adding 2011 back to the drop down. It curntly shows 2012 - 2023. Any help would be great.
I have tried editing the variables in the calendar.html
var currentyear=(new Date()).getFullYear();

var lo=currentyear-3;

var hi=currentyear+3;

if(dt_current.getFullYear()>hi-3)

hi=dt_current.getFullYear()+3;

if(dt_current.getFullYear()<lo+3)

lo=dt_current.getFullYear()-3;

for(i=lo;i<=hi;i++)
I was just trying to cahnge it to 3 years back and 3 years forward. But these changes did no ttake affect.
Thank you in Advance.

Chuck
I belive the sofeware is ASP runner.

Sergey Kornilov admin 1/10/2012

Chuck,
this is not support forum. If you need help from support open a ticket at http://support.xlinesoft.com supplying your order number.