Click here to Skip to main content
15,912,977 members
Home / Discussions / Web Development
   

Web Development

 
GeneralGrrr.. Tables and Images Pin
MKlucher17-Dec-03 10:47
MKlucher17-Dec-03 10:47 
GeneralRe: Grrr.. Tables and Images Pin
Ray Cassick17-Dec-03 11:14
Ray Cassick17-Dec-03 11:14 
GeneralRe: Grrr.. Tables and Images Pin
MKlucher17-Dec-03 11:21
MKlucher17-Dec-03 11:21 
GeneralRe: Grrr.. Tables and Images Pin
ZoogieZork17-Dec-03 14:19
ZoogieZork17-Dec-03 14:19 
GeneralRe: Grrr.. Tables and Images Pin
MKlucher17-Dec-03 14:55
MKlucher17-Dec-03 14:55 
GeneralDisable DblClick Pin
Member 61706716-Dec-03 13:45
Member 61706716-Dec-03 13:45 
GeneralRe: Disable DblClick Pin
ZoogieZork16-Dec-03 16:24
ZoogieZork16-Dec-03 16:24 
GeneralRe: Disable DblClick Pin
Member 61706717-Dec-03 6:50
Member 61706717-Dec-03 6:50 
Well I have written a calendar in JavaScript, which has 2 combo boxes (for month and year) along with the table displaying the month. As you understand there is a function Onreadystatechange in script which allows you making changes at the start of web page.



where I change the color of today’s date. Double click makes the date ugly. There is another solution that I could change color by firing with fireEvent function. That is also not working. I do not know why?

function OnLoadDate() {
var now = new Date();
var today = now.getDate();
var month = now.getMonth();
var year = now.getFullYear();
var StartOfMonth= StartDayOfMonth(year,month);
var ObjectID = StartOfMonth + today - 1;
var Row = Math.floor(ObjectID / 7);
var Col = ObjectID % 7; Laplink.CalYear.options[year - 1995].selected = true;
Laplink.Months.options[month].selected = true;
WriteMonth(year,month,today); Laplink.all.CalendarID.rows[Row].cells[Col].fireEvent("ondblclick");
}


Agha
GeneralRe: Disable DblClick Pin
l a u r e n25-Dec-03 13:56
l a u r e n25-Dec-03 13:56 
GeneralRe: Disable DblClick Pin
Member 61706729-Dec-03 7:54
Member 61706729-Dec-03 7:54 
GeneralDOM and getElementById Pin
FruitBatInShades16-Dec-03 9:36
FruitBatInShades16-Dec-03 9:36 
GeneralRe: DOM and getElementById Pin
Not Active17-Dec-03 3:09
mentorNot Active17-Dec-03 3:09 
GeneralRe: DOM and getElementById Pin
FruitBatInShades23-Dec-03 1:44
FruitBatInShades23-Dec-03 1:44 
GeneralRe: DOM and getElementById Pin
FruitBatInShades23-Dec-03 2:03
FruitBatInShades23-Dec-03 2:03 
GeneralASP - Stored Procedure question Pin
theJazzyBrain16-Dec-03 0:07
theJazzyBrain16-Dec-03 0:07 
GeneralRe: ASP - Stored Procedure question Pin
henningbenk16-Dec-03 21:24
professionalhenningbenk16-Dec-03 21:24 
GeneralRe: ASP - Stored Procedure question Pin
theJazzyBrain17-Dec-03 5:14
theJazzyBrain17-Dec-03 5:14 
GeneralRe: ASP - Stored Procedure question Pin
OMalleyW18-Dec-03 9:41
OMalleyW18-Dec-03 9:41 
GeneralRe: ASP - Stored Procedure question Pin
theJazzyBrain18-Dec-03 21:14
theJazzyBrain18-Dec-03 21:14 
Generalget html source code of google page Pin
Member 76954215-Dec-03 19:06
Member 76954215-Dec-03 19:06 
GeneralSelecting many files to upload Pin
Rostrox15-Dec-03 17:31
Rostrox15-Dec-03 17:31 
GeneralRe: Selecting many files to upload Pin
l a u r e n25-Dec-03 13:58
l a u r e n25-Dec-03 13:58 
GeneralControl for FileDialog Pin
Rostrox15-Dec-03 17:20
Rostrox15-Dec-03 17:20 
GeneralPleeeaasse... ASAP Pin
The_Server15-Dec-03 12:37
The_Server15-Dec-03 12:37 
GeneralRe: Pleeeaasse... ASAP Pin
l a u r e n25-Dec-03 13:59
l a u r e n25-Dec-03 13:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.