View previous topic :: View next topic |
Author |
Message |
jmoran
Joined: 10 Apr 2006 Posts: 16
|
Posted: Mon Nov 20, 2006 4:20 pm Post subject: Begin Date |
|
|
I would like to set the gBegin with a date that I am getting from the backend. How can I set that???
Thanks for your time,
Jennifer
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Mon Nov 20, 2006 8:41 pm Post subject: |
|
|
1) Rename the plugins.js to plugins.jsp (or plugins.asp if you use ASP)
2) Prepend the followng lines to the top of plugins.jsp:
Code: | <%@ page language="java" contentType="text/javascript" %>
gBegin=[<%=server_year_var%>,<%=server_month_var%>,<%=server_day_var%>]; |
3) Modify the iframe tag to use plugins.jsp instead of plugins.js.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
jmoran
Joined: 10 Apr 2006 Posts: 16
|
Posted: Wed Nov 22, 2006 9:45 pm Post subject: |
|
|
You guys are the best!!
Thanks for the help.
Jennifer
|
|
Back to top |
|
|
|