I can remember I implemented a CSS popup box once and I think I will trace it down and see if I can include it in this framework too.
This shouldn't be too hard.
function defHdrStyle() {
dvHdr.innerHTML='

dvHdr.style.fontWeight='bold';
dvHdr.style.width='350px';
dvHdr.style.fontFamily='arial';
dvHdr.style.border='1px solid #A5CFE9';
dvHdr.style.padding='3';
dvHdr.style.fontSize='11';
dvHdr.style.color='#4B7A98';
dvHdr.style.background='#D5EBF9';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
}
function defBdyStyle() {
dvBdy.style.borderBottom='1px solid #A5CFE9';
dvBdy.style.borderLeft='1px solid #A5CFE9';
dvBdy.style.borderRight='1px solid #A5CFE9';
dvBdy.style.width='350px';
dvBdy.style.fontFamily='arial';
dvBdy.style.fontSize='11';
dvBdy.style.padding='3';
dvBdy.style.color='#1B4966';
dvBdy.style.background='#FFFFFF';
dvBdy.style.filter='alpha(opacity=85)'; // IE
dvBdy.style.opacity='0.95'; // FF
}
I only need to edit these colors and we'r good.
Im using an old componment called boxover for this one. I do know that there is a jquery veriant for this. But I am too lazy to look it up.
Geen opmerkingen:
Een reactie posten