Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


debasis
jaavscript
1 Answer(s)      4 years and 4 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

Advertisement
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 Tutorials/Questions & Answers:
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
Advertisements
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
Advertisements
 

 

 

DMCA.com