Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with warning message

Status
Not open for further replies.

rfreshour

Programmer
Jan 22, 2008
11
I get the following warning but I don't understand what I need to do to correct it:

Warning: Expected color but found 'raised'. Expected color but found 'raised'. Expected end of value for property but found 'raised'. Error in parsing value for property 'border'. Declaration dropped.

This is the code which is in my PHP form script:

<script language="JavaScript">
var DP_Check_Status_On_Date = new DatePicker("hdn_Check_Status_On_Date", "mySQL1","1","","100",false,true,"EN");
DP_Check_Status_On_Date.setCSSAttribute(CSS_TITLE,'font:12px Arial, Arial, Helvetica, sans-serif; text-decoration:none; color: #000000;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_DATE_TEXT,'font:12px Arial, Helvetica, sans-serif; text-decoration:none; color: #000000;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_DISPLAY_AREA,'font: normal 14px Arial; color:#000000; border:none; background-color:#DBDBDB;');
DP_Check_Status_On_Date.setCSSAttribute(CSS_MOUSEOVER,'background: #FF8000');
DP_Check_Status_On_Date.setCSSAttribute(CSS_MOUSESELECT,'background: #C0C0C0');
DP_Check_Status_On_Date.Instantiate();
</script>
 
function DatePicker_SetCSSAttribute(attribute, cssValue){
switch (attribute){
case CSS_TITLE:
this.CSS_Title = cssValue;
break;
case CSS_NAV_YEAR:
this.CSS_NavYear = cssValue;
break;
case CSS_NAV_MONTH:
this.CSS_NavMonth = cssValue;
break;
case CSS_DATE_TEXT:
this.CSS_DateText = cssValue;
break;
case CSS_CALENDAR:
this.CSS_Calendar = cssValue;
break;
case CSS_BUTTON_TEXT:
this.CSS_ButtonText = cssValue;
break;
case CSS_BUTTON:
this.CSS_Button = cssValue;
break;
case CSS_DISPLAY_AREA:
this.CSS_DisplayArea = cssValue;
break;
case CSS_MOUSEOVER:
this.CSS_Mouseover = cssValue;
break;
case CSS_MOUSESELECT:
this.CSS_Mouseselect = cssValue;
break;
case CSS_DATEHEADER_ROW:
this.CSS_DateHeaderTR = cssValue;
break;
case CSS_DATEHEADER_CELL:
this.CSS_DateHeaderTD = cssValue;
break;
case CSS_DATEWEEK_ROW:
this.CSS_DateWeekTR = cssValue;
break;
case CSS_DATEWEEK_CELL:
this.CSS_DateWeekTD = cssValue;
break;
case CSS_DATEDAY:
this.CSS_DateDay = cssValue;
break;
case CSS_EVENT:
this.CSS_SimpleEvent = cssValue;
break;
}
}
 
Perhaps a URL to your page would be better... Or, why not try debugging it yourself using Firebug (or old fashioned alert statements) to narrow down which line is cauising the problem?

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Is there a way for me to pm or email you with the login info to my site?
 
Nice Dan, maybe next you get a key to his house [smile]

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson

[small]<P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
 
I'll try using firebug again and see if I can figure it out...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top