Click here to Skip to main content
15,915,093 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: creating login database with dreamweaver Pin
Joan M9-Aug-12 7:04
professionalJoan M9-Aug-12 7:04 
GeneralRe: creating login database with dreamweaver Pin
StianSandberg10-Aug-12 2:43
StianSandberg10-Aug-12 2:43 
AnswerRe: creating login database with dreamweaver Pin
StianSandberg10-Aug-12 2:48
StianSandberg10-Aug-12 2:48 
AnswerRe: creating login database with dreamweaver Pin
Brandon Caruana25-Aug-12 9:25
Brandon Caruana25-Aug-12 9:25 
QuestionBinding Gridview Pin
Sakthivel Parasuraman3-Aug-12 0:01
Sakthivel Parasuraman3-Aug-12 0:01 
AnswerRe: Binding Gridview Pin
Eddy Vluggen3-Aug-12 2:57
professionalEddy Vluggen3-Aug-12 2:57 
GeneralRe: Binding Gridview Pin
Avrillavigne7-Aug-12 19:03
Avrillavigne7-Aug-12 19:03 
AnswerRe: Binding Gridview Pin
Brandon Caruana25-Aug-12 9:30
Brandon Caruana25-Aug-12 9:30 
QuestionGridview Bind Pin
Sakthivel Parasuraman2-Aug-12 23:59
Sakthivel Parasuraman2-Aug-12 23:59 
AnswerRe: Gridview Bind Pin
Eddy Vluggen3-Aug-12 3:00
professionalEddy Vluggen3-Aug-12 3:00 
Questionutility for removing ads/links from saved pages? Pin
AB1JX1-Aug-12 17:03
AB1JX1-Aug-12 17:03 
GeneralRe: utility for removing ads/links from saved pages? Pin
Eddy Vluggen1-Aug-12 22:19
professionalEddy Vluggen1-Aug-12 22:19 
AnswerRe: utility for removing ads/links from saved pages? Pin
Brandon Caruana25-Aug-12 9:35
Brandon Caruana25-Aug-12 9:35 
Questionactivation mail after registration Pin
sheemap1-Aug-12 1:09
sheemap1-Aug-12 1:09 
AnswerRe: activation mail after registration Pin
jkirkerx1-Aug-12 11:27
professionaljkirkerx1-Aug-12 11:27 
Questionresult project Pin
sheemap31-Jul-12 20:48
sheemap31-Jul-12 20:48 
AnswerRe: result project Pin
Richard MacCutchan31-Jul-12 22:47
mveRichard MacCutchan31-Jul-12 22:47 
SuggestionRe: result project Pin
Kislay Raj7-Aug-12 6:16
Kislay Raj7-Aug-12 6:16 
GeneralKey Press Detection Pin
908236530-Jul-12 10:16
908236530-Jul-12 10:16 
AnswerRe: Key Press Detection Pin
Peter_in_278030-Jul-12 15:17
professionalPeter_in_278030-Jul-12 15:17 
GeneralRe: Key Press Detection Pin
908236531-Jul-12 3:33
908236531-Jul-12 3:33 
GeneralRe: Key Press Detection Pin
Pete O'Hanlon30-Jul-12 20:59
mvePete O'Hanlon30-Jul-12 20:59 
Questionhighlight the menu item according to the page Pin
Member 915215630-Jul-12 2:11
Member 915215630-Jul-12 2:11 
AnswerRe: highlight the menu item according to the page Pin
WoodenLegNamedSmith2-Aug-12 7:50
WoodenLegNamedSmith2-Aug-12 7:50 
You could do this several way such as sending a numeric ID to a javascript function that corresponds to a link in your list. When clicked, and/or the page has done a round trip read that numeric ID back into a function that highlights that link.

This is just a crude example of javascript that take an element's ID and turns its background bright Yellow.
JavaScript
function highlight(linkID)
{
  var link = document.getElementById(linkID);
  link.style.backgroundColor = "#FFFF00";
}


If you want to go about it in a STATIC way you could set up each page where the link itself has not only a CSS class definition but an ID as well, for example:

HTML
<ul class="sub-menu">
  <li id="CURRENT_PAGE"><a href="#">POP</a></li>
  <li><a href="#">Rock</a></li>
  <li><a href="#">Folk</a></li>
  <li><a href="#">Jazz</a></li>
  <li><a href="#">Country</a></li>
  <li><a href="#">Blues</a></li>
</ul>


Now define your CSS
CSS
.sub-menu { ..... }
#CURRENT_PAGE { background-color:#FFFF00; }


The choice is up to you, good luck!
I once knew a man with a wooden leg named Smith, I never asked what he named his other leg.

Questionsoap packet to be posted to WCF Pin
Anuradhaanu29-Jul-12 20:52
Anuradhaanu29-Jul-12 20:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.