...disallowDate(date) {
var year = date.getFullYear();
var month = date.getMonth() + 1;
var day = date.getDate();
var calendarDate = year*10000 + month*100 + day;
return calendarDate in DISABLED_DATES;
}
And code added before calendar.create()...
Here is the documentation for the calendar. If someone can look at how to disable dates and help me, I'd really appreciate it. http://www.dynarch.com/jscal/
Thanks!
Jim
...first moving ahead or back a month first. Then it works fine.
Can someone help me?
// <?php !! This fools phpdocumentor into parsing this file
/*** @version $Id: joomla.javascript.js 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source...
This is a follow to this thread:
thread216-1746009
I've been able to disable dates in the calendar using the code listed in the thread above, until recently.
Now, the dates are disabled but you aren't able to pick a date in the current month without first moving back or forth a month, then it...
...true,
20150317: true,
20150318: true,
20150319: true
};
function disallowDate(date) {
var year = date.getFullYear();
var month = date.getMonth() + 1;
var day = date.getDate();
var calendarDate = year*10000 + month*100 + day;
return calendarDate in DISABLED_DATES;
}
Jim
Thanks for your response. I'll give your code a try. Should the code go in the calendar_function.js file and where in the file should I place the code?
Thanks,
Jim
Hi, I'm using the DHTML Calendar, version 1.0 and need to disable certain dates from being selected.
The documentation says, "You can disable individual dates by supplying a callback function which receives a JS date object and returns true if that date must be disabled, or false otherwise. You...
My website is jimsgotweb.com. When I view it in FireFox 34.0, after viewing 6 pages it stops responding. The message FF gives is: The connection was reset. The connection to the server was reset while the page was loading.
After that happens, I'm no longer able to view the website without...
Task:
Set up a website so that someone with no HTML skills can update the "Upcoming" page.
option:
Have an iframe that opens up a Word document that has been saved as a web page. Images are used in the Word doc and the thumbnails are linked to open a larger picture, all in the iframe...
Hi, I'm using Flash MX and here is what I'm tring to do,
I have a movie clip on stage:
picture_mc
I want to load a jpg from a file into it:
picture_mc.loadMovie("images/0.jpg");
Then I want to click on the loaded mc and duplicate it:
picture_mc.onMouseDown = function() {...
I’m using the loadMovie action to display an array of jpeg’s, one at a time, in a movie clip “photo”.
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
I want to be able to move the loaded movie clip around the stage but according to the reference section:
“The target movie clip will...
I'm loading an array of external images one at a time and dragging them across the stage. How can I leave the image where it is and drag a copy of it instead?
Thanks,
Jim
I don't have the image repeated twice.
I also noticed that if I set highest to lowest to false
then it starts with the highest number and "next" is 1, so one click works.
Then the problem is "previous".
Here I set $highest_lowest == false
http://jimsgotweb.com/family/FamilyIndex.php
The...
Hi, I'm using a photo album on my website:
http://jimsgotweb.com
The code is by Tubatomic Studio www.tubatomic.com
It works great except that you have to click on the "next" button twice to move to the next image. I think that the problem is that when the first image loads the "next" image is...
The cookie (session ID) needs to remain with the customer as they shop in order to keep track of the order.
I'm not sure if what you want to do can be done without OpenUI.
Are you having any luck at all? I'd be interested to know how far you've gotten with this.
Jim
First time users notice right away that they are limited as to how they can change the way their store looks and feels.
Darren Ehlers developed a way for modules to cooperate together, even modules from different developers. It provides a way for modules to externally hook into the Miva user...
It is under "Customer Accounts". I'm not sure where it would be listed on your admin page. Try clicking on your store and then look for it in the menu. You should see a check box to disable the "Sign In" and a way to change the text.
If you want more control over the look of your store you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.