debasis
jaavscript
1 Answer(s)      2 years and 9 months ago
Posted in : Development process

Dear Sir,
Thank you for your reply.I have a mail inbox with e-mails.After reading one of them i want to color the entire line blue.Others unread line should be white as in gmail.Can i have the entire line as click and see the inbox or any other option.Please help me

Many Thanks & regards
debasis
View Answers

August 17, 2010 at 3:00 PM


Hi Friend,

Try the following code:

<HTML>
<HEAD>
<script language="javascript">
function change (i){
if(document.getElementById)
document.getElementById(i).color = "red";
else if(document.all)
document.all[i].color = "red";
}
</script>
</head>
<a href="#" onClick='return change("item1")'><font
id=item1> Link 1</font></a>
<a href="#" onclick='return change("item2")'><font
id=item2> Link 2</font></a>
</HTML>

Thanks









Related Pages:
jaavscript & ajax - Design concepts & design patterns
jaavscript & ajax  Can we give same frame for each button's functionality.if yes,how to do it Thank You
jaavscript & ajax - Design concepts & design patterns
jaavscript & ajax  Dear sir, I have designed a mail inbox page.I have in my database a master table called MASTER_MAIL in which i have coloumns such as mail_id,mail_from,mail_to,mail_date,subject,content.In my inbox page i have
jaavscript & ajax - Design concepts & design patterns
jaavscript & ajax  Dear sir, I have designed a mail inbox page.I have in my database a master table called MASTER_MAIL in which i have coloumns such as mail_id,mail_from,mail_to,mail_date,subject,content.In my inbox page i have
jaavscript & ajax - Design concepts & design patterns
jaavscript & ajax  Morning, Can you tell me coding how to upload Excel file. First, i want to browse the excel file from my desktop, then i have a button to save this excel file to database(MySql). Second, i want to call

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.