Sorry should be more clear in my writing... Not the best at javascript but have the following so far but not sure how to get it to work when someone moves their mouse over the link that brings up the tooltip.
Code:
var birthMonth = messages.substring(messages.lastIndexOf('/'),messages.lastIndexOf('/')-2);
{
if (birthMonth == currMonth)
{
style.tipBgColor = "#ff69b4";
}
else {
style.tipBgColor = '#eae3c6';
}
}}
And have the following load up for the month:
Code:
var today=new Date();
var currMonth=today.getMonth()+1;

Originally Posted by
thetestingsite
Add the optional bgColor attribute to the code like so:
Code:
messages[0] = new Array('4mos.jpg','Me at 4 months old.<br>Birthday: 9/23', '#CC0000');
You could also add the optional textColor attribute as well like so:
Code:
messages[0] = new Array('4mos.jpg','Me at 4 months old.<br>Birthday: 9/23', '#CC0000', '#EEEEEE');
Hope this helps.
I have the code set up with
Code:
messages[0] = new Array('4mos.jpg','Me at 4 months old.<br>Birthday: 9/23',"#FFFFFF");
I had taken out the FFFFF due to me experimenting.
Bookmarks