OZONE Asylum
Forums
DHTML/Javascript
JavaScript Cookie Redirect
This page's ID:
30213
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hello cyanide, welcome to the funny farm :) Looks like your script is missing this chunk of the original code: [code] num_days = 60; function ged(noDays){ var today = new Date(); var expr = new Date(today.getTime() + noDays*24*60*60*1000); return expr.toGMTString(); } [/code] Without that, your script can't know about the "ged" function and about the "num_days" variable that you're passing to it as an argument. So if you just put these declarations anywhere inside your <script> tags you should be fine.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »