CSS to Highlight Current TD Tag Selection

Trying to find how I add a CSS class to show the currently
selected menu item.
I am using
<td height="22"align="center"
class="SmallLinkB"onclick="MM_changeProp('titletxt','','innerHTML','&lt;img
src=\&quot;/FILESPEC.gif\&quot;
alt=\&quot;dwr\&quot; width=\&quot;20\&quot;
height=\&quot;15\&quot; /&gt; TEXT HERE
&lt;o:p&gt;&lt;a
href=\&quot;/FILESPEC.pdf\&quot;
target=\&quot;_blank\&quot;
class=\&quot;nugbody\&quot;&gt;PDF&lt;/a&gt;
&lt;span
class=\&quot;nugbody\&quot;&gt;or&lt;/span&gt;
&lt;a href=\&quot;/FILESPEC.swf\&quot;
target=\&quot;_blank\&quot;
class=\&quot;nugbody\&quot;&gt;FlashPaper&lt;/a&gt;&lt;/o:p&gt;&lt;img
src=\&quot;/FILESPEC.gif\&quot;
alt=\&quot;dw\&quot; width=\&quot;20\&quot;
height=\&quot;15\&quot;
/&gt;','DIV');Spry.Utils.updateContent('DIV1',
'/FILESPEC.php'); return false"
onmouseover="this.style.backgroundColor = '#FFD2AA'
;this.style.cursor='pointer'"
onmouseout="this.style.backgroundColor = ''">TEXT
HERE</td>
inside a SpryCollapsiblePanel with color effects.
When I select a meu item, I want the new selection to be
highlighted and to release the last selection.

You can achieve this result by adding:
<script language="javascript" type="text/javascript"
src="../../includes/xpath.js"></script>
<script language="javascript" type="text/javascript"
src="../../includes/SpryData.js"></script>
and then embed a DIV in the panelcontent called "test1' to
each button then add onClick=
Spry.Utils.addClassName('test1','selected1')
Spry.Utils.removeClassName('test2','selected1')
make a new class called select1 (or whatever)
This works great without allot of code if compared to some
other solutions I have seen. Also works with onMouseover including
colour effects.

Similar Messages

  • CSS - manually highlight current page link?

    In the sidebar navigation on this page I want to highlight the current page link with a CSS class. I wrote a class called "current" and applied it to the link. But nothing changes. I've used this on other sites, but something is tripping me up this time. I'm obviously missing something simple.
    Here's the page:  http://www.jesseyoung.com/gill/practice_areas/small_business/exceptions_to_limited_liabili ty.html
    Suggestions?
    -Jesse

    function(){return A.apply(null,[this].concat($A(arguments)))}
    In the sidebar navigation on this page I want to highlight the current page link with a CSS class. I wrote a class called "current" and applied it to the link.
    Are you creating this Current Page marker manually?
    You're using Pop Menu Magic 2 from Project Seven which already has an excellent in-built feature for Automatic and Advanced Current Page "you are here" marking.
    Click the two boxes adjacent "Current Marking" in the PMM2 interface and the job is done. The PMM2 PDF User Guide explains the feature in detail.
    You'll also get excellent support on questions related to Project Seven products at their newsgroup forums
    http://www.projectseven.com/support/index.htm

  • Highlighting Current Page with CSS

    This morning I post my first Dreamweaver/CSS site. It is for
    a DVD I produced about infant massage. www.BabyBabyOhBaby.com.
    What I'd like to do is highlight the current page in the
    navigation bar using either a border or color change. I've found
    some sites like
    http://www.hicksdesign.co.uk/journal/highlighting-current-page-with-css
    but, sorry to say, I'm a beginner at both Dreamweaver & CSS and
    I can't quite follow the code.
    Is there some way within Dreamweaver to accomplish the
    highlighting in design view without writing the code? Or perhaps
    someone has some very basic elementary CSS guidance?
    Thanks for your time,
    David

    Oh, yeah. 8)
    Get that....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:[email protected]...
    > <informative but also self-serving>
    >
    > Really we have made this much much easier. divaGPS
    creates you-are-here"
    > menu highlighting and is easy to add to any number of
    pages at once - even
    > Templates' Child pages. It is a commercial DW Extension
    that will save
    > you lots of time and effort.
    >
    >
    http://divahtml.com/products/divaGPS/current_menu_location.php
    >
    > <informative but also self-serving />
    >
    > --
    >
    > E. Michael Brandt
    >
    > www.divaHTML.com
    > divaGPS : you-are-here menu highlighting
    > divaFAQ : FAQ pages with pizazz
    >
    > www.valleywebdesigns.com
    > JustSo PictureWindow
    > JustSo PhotoAlbum
    >
    > --
    >
    >
    > Murray *ACE* wrote:
    >> You need to know the downside to using layers as a
    primary layout
    >> device - open your page in Firefox (or any non-IE
    browser) and bump the
    >> text size up a tick or two. Ugh....
    >>
    >> Here's your navbar -
    >>
    >> <div id="navbar"><a
    href="index.html">Home</a> | <a
    >> href="about_dvd.html"> the DVD</a> | <a
    href="preview.html">Preview</a> |
    >> <a href="reviews.html">Reviews</a> |
    <a href="infant_massge.html">Infant
    >> Massage</a> | <a
    href="contact_us.html">Contact Us</a> | <a
    >>
    href="shopping.html">Shopping</a></div>
    >>
    >> Change it to this -
    >>
    >> <div id="navbar"><a href="index.html"
    id="button1">Home</a> | <a
    >> href="about_dvd.html" id="button2"> the
    DVD</a> | <a href="preview.html"
    >> id="button3">Preview</a> | <a
    href="reviews.html"
    >> id="button4">Reviews</a> | <a
    href="infant_massge.html"
    >> id="button5">Infant Massage</a> | <a
    href="contact_us.html"
    >> id="button6">Contact Us</a> | <a
    href="shopping.html"
    >> id="button7">Shopping</a></div>
    >>
    >> Then on each page, embed a little stylesheet in the
    head by changing
    >> this -
    >>
    >> </head>
    >>
    >> to this -
    >>
    >> <style type="text/css">
    >> a#buttonX { your highlight styles }
    >> </style>
    >>
    >> and just change the "X" to whatever number button
    you want to highlight.
    >>
    >> You can do this in Design view, but it's too
    tedious.
    >>

  • Highlight Current/selected cell in Calender

    Hi,
    How can I highlight current / Selected Cell in Calender ?
    Im using calender with link as like in Denes application: http://htmldb.oracle.com/pls/otn/f?p=31517:40
    But I cannot highlight the clicked/selected cell.
    Regards,
    Benz

    Any clue ? ..

  • Highlight "current" page in CSS Dreamweaver TEMPLATE

    I have created 2 navigation bars (in my header) using an unordered list styled with CSS in a Dreamweaver Template that I created. Here is that template (in the template- the "Beads" link is styled as the current page): http://www.bfranklincrafts.com/Templates/MainTemplateM.dwt 
    I don't want the navbars to be editable in the pages that will be created from this template, so I was NOT planning on putting the navbars in editable regions. But now I'm realizing that if I don't put the navbars in editable regions, I won't be able to go in each link in my navbars to put the "current" style for each page.
    The idea of the template is wonderful because it allows us to create one template and from that template we can make changes that would be past down to all the pages that were created using this template. But if I have to put the navbars in editable regions, it means that if I have to make changes to the navbars, I'll have to go to each individual page to make those changes.
    I really want to show the "current" page that visitors are on, can anyone help!!!
    Liolee

    Hi,
    sorry to bring up an old post but I am having issues with this myself and hope you can help?
    I have coded my site as per your example but still no luck.
    It is an .asp site. and my menu looks like this:
    <ul id="nav">
        <li><a id="home" href="http://www.ampso.co.uk/index.asp"><img src="/images/nav1_gray.jpg" width="84" data-srcover="/images/nav1_full.jpg"></a></li>
        <li><a id="tech" href="http://www.ampso.co.uk/page/88/Technical.asp#.USOIoqWduS0"><img src="/images/nav4_gray.jpg" width="102" data-srcover="/images/nav4_full.jpg" class="wrap_right"></a></li>
        <li><a id="construction" href="http://www.ampso.co.uk/page/89/Construction.asp#.USOQLqWduS0"><img src="/images/nav5_gray.jpg" width="170" data-srcover="/images/nav5_full.jpg" class="wrap_right"></a></li>
        <li><a id="medical" href="http://www.ampso.co.uk/page/87/Medical.asp#.USOUeaWduS0"><img src="/images/nav3_gray.jpg" width="88" data-srcover="/images/nav3_full.jpg" class="wrap_right"></a></li>
        <li><a id="media" href="http://www.ampso.co.uk/page/90/Media.asp#.USOWQKWduS0"><img src="/images/nav6_gray.jpg" width="88" data-srcover="/images/nav6_full.jpg" class="wrap_right"></a></li>
        <li><a id="logistics" href="http://www.ampso.co.uk/page/91/Logistics.asp#.USOXdqWduS0"><img src="/images/nav7_gray.jpg" width="100" data-srcover="/images/nav7_full.jpg" class="wrap_right"></a></li>
        <li><a id="allsectors" href="http://www.paycoservices.co.uk/page/86/All-Sectors.htm"><img src="/images/nav2_gray.jpg" width="120" data-srcover="/images/nav2_full.jpg" class="wrap_right"></li>
        <li><a id="contact" href="http://www.ampso.co.uk/page/205/Welcome-to-Payco.asp#.USObtaWduS0"><img src="/images/nav9_gray.jpg" width="120" data-srcover="/images/nav9_full.jpg" class="wrap_right"></a></li>
    </ul>
    Now the issue arises with adding the code to the pages themselves. For example, if I go to the 'tech' page. I have no editable regions like I would with a html template (even though my main menu is in a top menu template which applies to each page) so I'm not sure exactly where to put the css code.
    Currently the top section of my 'tech' page looks like this:
    <%
    Bodystyle = "style='background:url(/images/bg-further-technical.jpg) center 0px no-repeat;'"
    %>
    <!-- #INCLUDE virtual= "/top.asp" -->
    <div id="further-banner" style="background:url(/images/technical-icon.png) 811px 9px no-repeat; ">
    <h1>Payco Technical  <span>It's your industry so why not do it your way?</span></h1>
    <p><b>You are here:</b>
    <a href="/index.asp">Home</a> /
    <a href='Payco-Technical.asp'>Payco Technical</a> /
    </p>
    </div>
    Now do I paste the css code into here? Or would it help if you saw my whole 'tech' page so you can see the rest?
    Any help would be greatly appreciated.
    Thanks

  • Highlight Current Row

    Apex 4.2
    Theme 21
    I am able to highlight current form fields using get focus and lose focus dynamic actions.
    How do I highlight the current row of a tabular form or updateable report.
    I have tried using DA with
    JQuery Selector tr[headers="FEE"] (column in my report)
    Execute Javascript
    $x_RowHighlight(this.triggeringElement,'yellow');
    Any help appreciated
    Gus

    Gus ,
    you can look at my demo ... ( the one you aked for in my other discussion)
    http://apex.oracle.com/pls/apex/f?p=53793
    demo / demo
    when i click on on row of the IR , the text of selected row is set to red .
    i m sure that you can use it to highlight your row .
    Just remember that when you set for example background-color of a cell, the style of the region may hide what you try to change. I m not sure why but if you disable the region class
    your modifications will appears.

  • Highlight current Index label in list component

    Hi,
    I'm writhing http xml video playlist. i was took 'List' component for playlist.
    if i click on label, that is working (i mean playing video & highlighting label).
    but after video ending, video automatically playing but label not highlighting, How can i highlight current playing video label?
    Code:
    var videoURL:String = "playlist_http.xml";
    var bolLoaded:Boolean;;
    var intActiveVid:int;
    var urlLoader:URLLoader;
    var urlRequest:URLRequest;
    var xmlPlaylist:XML;
    var nConnection:NetConnection;
    var ns:NetStream;
    var video:Video = new Video();
    nConnection = new NetConnection();
    nConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    nConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
    nConnection.connect(null);
    function connectStream():void
              ns = new NetStream(nConnection);
              ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
              ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, ayncErrorHandler);
              ns.checkPolicyFile = true;
              ns.client = this;
              vidDisplay.attachNetStream(ns);
              ns.play(videoURL);
              vidDisplay.smoothing = true;
              urlRequest = new URLRequest(videoURL);
              urlLoader = new URLLoader();
              urlLoader.addEventListener(Event.COMPLETE, playlistLoaded);
              urlLoader.load(urlRequest);
    function netStatusHandler(event:NetStatusEvent):void
              trace(event.info.code);
              switch (event.info.code)
                        case "NetConnection.Connect.Success" :
                                  connectStream();
                                  break;
                        case "NetConnection.Connect.Closed" :
                                  break;
                        case "NetStream.Play.Stop" :
                                  playNext();
                                  break;
                        default :
    function securityErrorHandler(event:SecurityErrorEvent):void
              trace("securityErrorHandler: " + event);
    function ayncErrorHandler(event: AsyncErrorEvent):void
              //Nothing
    //PlayList SetUp
    //=====================
    var listBox:List = new List();
    addChild(listBox);
    listBox.setSize(194, 339);
    listBox.move(484,0);
    function playlistLoaded(e:Event):void {
              xmlPlaylist = new XML(urlLoader.data);
              //trace(xmlPlaylist.vid[0].@src);
        for (var i:int=0;i<xmlPlaylist.vid.length();i++) {
                                  listBox.addItem({label:xmlPlaylist.vid[i].attribute("desc"), data:xmlPlaylist.vid[i].@src});
                                  listBox.addEventListener(Event.CHANGE, playVidlist);
                                  listBox.selectedIndex = 0;
    // set source of the first video but don't play it
              playVid(0, false);
              if(!bolLoaded) {
                        ns.play(videoURL);
                        bolLoaded = true;
              else{
                        ns.resume();
    function playVidlist(e:Event):void
              //intActiveVid=int(String(e.currentTarget.selectedItem.data));
              ns.play(String(e.currentTarget.selectedItem.data));
              lblDescription.text = e.currentTarget.selectedItem.label;
              if(!bolLoaded) {
                        ns.play(videoURL);
                        bolLoaded = true;
              else{
                        ns.resume();
    function playVid(intVid:int = 0, bolPlay = true):void {
              if(bolPlay) {
                        // play requested video
                        ns.play(String(xmlPlaylist..vid[intVid].@src));
              } else {
                        videoURL = xmlPlaylist..vid[intVid].@src;
              lblDescription.text = String(xmlPlaylist..vid[intVid].@desc);
              // update active video number
              intActiveVid = intVid;
    function playNext(e:MouseEvent = null):void {
              if(intActiveVid + 1 < xmlPlaylist..vid.length()){
                                  playVid(intActiveVid + 1);
    function playPrevious(e:MouseEvent = null):void {
              // check if we're not and the beginning of the playlist and go back
              if(intActiveVid - 1 >= 0)
                        playVid(intActiveVid - 1);

    Thankyou.... working good, but after adding next previous buttons that selection not working currectly.
    if i click some label, selection is working after if i click next not working selection.
    function playNext(e:MouseEvent = null):void {
               if(intActiveVid + 1 < xmlPlaylist..vid.length()){
                                  playVid(intActiveVid + 1);
      listBox.selectedIndex = intActiveVid + 1;
    function playPrevious(e:MouseEvent = null):void {
              if(intActiveVid - 1 >= 0)
    playVid(intActiveVid - 1);
    listBox.selectedIndex = intActiveVid - 1;

  • Changing tag selection makes folder jump

    Today at a children's party, I took 171 shots.
    After loading to PSE4 Organizer, I tagged them with 1 to 5 stars.
    I then wished to review my ratings by looking at all the 5 star shots (of which there were only 2) together, then the 4 star shots and so on.
    The trouble is whenever I changed my tag selection, Organizer would jump to another folder. It did this no matter how I checked or unchecked "Show all Files" and "Show all Folders" on the Folder pane pop-up menu.
    The only way I could find to stop this happening was to create a temporary "Today" tag and apply it to all shots in todays event folder. By leaving that tag selected, I could then select and deselect the star tags at will.
    Is this a usual procedure or is there a better way around the problem?

    Thanks again Colin and Brian
    Since I am not in direct contact with any other PSE4 users, it could well be that I have developed some procedures that are "a trifle odd"
    I guess the reason I tended to adopt Folder view is the the familiar feel of having a folder tree on the left hand side of the screen. It also seemed the most natural way of focussing attention on shots relating to a particular event as they are all together in one folder.
    Yes Brian, I do have files in other folders, (not necessarily of today's date) with star ratings and they are what was distracting Organiser from the folder I was currently interested in.
    My reason for avoiding Import Batch View is that every time I process a file (and save it under a new name), it creates its own little import batch so that after a while an event will finish up very fragmented.
    Date order view looks like it might be worth a try, as long as I remember that I lose my date range settings if I temporarily switch to another view for any reason.
    As far as tags go, is Brian suggesting a specific tag for every event? Over a year or two this would generate a rather large number of tags or do you envisage deleting such a tag when you have finished processing that event.
    To avoid the problem of too many tags, I had started out with name tags for family members and fairly generic event tags such as "party", wedding" or "graduation" so that I could search for combinations such as
    Tom AND Party
    Mary AND Wedding
    rather than have the number of tags multiply up.
    Since Tom probably has a birthday party every year, a date range for the calendar year would be required to isolate a particular event.
    After studying your advice so far, my current intention is that the first time I open up a folder for a new event, I will create an Instant tag. After a few days (or weeks or however long it takes till I am no longer spending much time on shots from that event) I can safely delete the tag - after all I can easily recreate it if needed.

  • I want to add Narration to my movies. I've watched the Elements Guided Help for Narration. But when I click the RECORD Tab, I get an error message. "Your current audio hardware selection does not have any inout channels." My question, therefore: Do I need

    I want to add Narration to my movies. I've watched the Elements Guided Help for Narration, and closely followed their procedure. But when I click the RECORD tab, I get an error message. "Your current audio hardware selection dos not have any input channels." My question, therefore: Do I need to buy an external microphone? I have an HP Pavilion Laptop, running WIndows 8.1. I thought I had a built-in microphone. But ,maybe not. Please help. Also, WHAT KIND of microphone - exactly - should I buy? Thanks for your help.
    Mike Moore
    Corvallis, Oregon

    mikem
    Go to Edit Menu/Preferences/Audio Hardware and ASIO tab and click on it.
    Under the Input tab, make sure that you have your microphone selected.
    Please let us know the outcome.
    Thank you.
    ATR

  • Default Current year in select option field on selection Screen

    Dear Experts,
    I want to set current year as default value in fiscal year select-options field on selection screen.
    for this, i hv written following code
    DATA:VAR_DATE TYPE SY-DATUM.
    DATA VAR(4) TYPE C.
    VAR_DATE = SY-DATUM.
    VAR = VAR_DATE+0(4).
    this retrieves current year .
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT VAR TO VAR..                            "Fiscal Year
    SELECTION-SCREEN END OF BLOCK B1.
    Now when i am executing program pop-up is raised describing "Specify the range Limits". Please help.
    Regards,
    Apoorv Sharma

    >
    Ganga Bhavani R wrote:
    > Use below lines.
    >
    > SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    > SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT SY-DATUM+0(4). "Fiscal Year
    > SELECTION-SCREEN END OF BLOCK B1.
    Hi, Ganga,
    I think it will not working properly that way, Please test the bellow Sample Code.
    TABLES: anlc.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS i11 FOR anlc-gjahr .
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      IF i11[] IS INITIAL.
        i11-low = sy-datum+0(4).
        APPEND i11.
      ENDIF.
    Thanks and Regards,
    Faisal

  • Query to get objects list for which the current user has 'SELECT' privilege

    Hi,
    I want to get tables and views list for which the current user has 'SELECT' privilege excluding sytem tables and views. The privilege information for the current user is scattered in more than one system views. I have following system views
    USER_TAB_PRIVS_RECD - Object grants for which the current user is the grantee
    ROLE_TAB_PRIVS - describes table privileges granted to roles. Information is provided only about roles to which the user has access.
    If the object privilege is granted explicitly like "GRANT ALL ON TABLE_NAME TO "USERNAME" then this privilege entry goes to USER_TAB_PRIVIS_RECD
    If the object privilege is granted by ROLE. Role is created with certain object privileges. this role is assigned to user "GRANT ROLE_NAME TO "USERNAME"", then this entry goes to ROLE_TAB_PRIVS
    From these findings, I have composed below query
    (SELECT DISTINCT TABLE_NAME FROM USER_TAB_PRIVS_RECD) UNION (SELECT DISTINCT TABLE_NAME FROM ROLE_TAB_PRIVS WHERE PRIVILEGE = 'SELECT')
    Have I got user's all prvilege details? should I look some other system views?
    How to exclude system table privileges details?
    (SELECT DISTINCT TABLE_NAME FROM USER_TAB_PRIVS_RECD) UNION (SELECT DISTINCT TABLE_NAME FROM ROLE_TAB_PRIVS WHERE PRIVILEGE = 'SELECT' AND OWNER NOT IN ('SYS','SYSTEM') Is this right?
    What about Public role in Oracle? Should I consider public role here?
    Oracel Version :11g
    I want make this query to work on Oracle 8i or above version
    Thanks

    >
    I want to get tables and views list for which the current user has 'SELECT' privilege excluding sytem tables and views.
    >
    You will need a hierarchical query to do that.
    Try this script for Listing privileges recursively for Oracle users
    http://www.adp-gmbh.ch/ora/misc/recursively_list_privilege.html

  • How do i get current active or selected page item's  reference

    Hi all,
    How do i get current active or selected page item's  reference .
    Please help me

    You can implement a selection suite for your need, this selection suite will be placed into the kLayoutSuiteBoss.
    In this selection suite place a method to give you the UIDRef of the selected pageitem, which you can get by using the method "GetUIDList" of the "ILayoutTarget" interface.
    Manan Joshi
    - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    You will need data recovery software. See this post:
                                                                                       Re: I accidentally lost 3 weeks of photos, how do I recover them?                                            
    And please send feedback to Apple: This is a bug. Only the imported photos should have been deleted, not all photos on the card. You can use this form: Apple - iPhoto - Feedback

  • Assigning value to jList similar to HTML tag select

    hi friends...
    Can we assign value to Jlist ..just like in html tag
    <select ">
    <option *value="val"* >Text</option>
    </select>
    Each row should have value assigned with it....when we select the row..it should return the hidden value..
    if it possible please reply
    thank u

    implement custom renderer which will show just text.The easier way is to override toString() for the custom class. JList by default uses toString to render the item.
    db

  • CSS Menu Which Highlights Current Selection

    Hi,
    I'm trying to convert my table and frame-based site to use CSS.
    http://www.jchmusic.com
    OK, the menu at the left works fine except that I'd like it to behave a bit differently; more like a real 'application' if possible.
    When the user clicks on a menu, I want that menu selection to -remain- highlighted (or a different color or -something-) to indicate where the user is on the web site. Then, when the user clicks on another menu option, I want that to 'de-select' and the next menu choice to be highlighted.
    I hope that makes sense. In effect, I want the page to have a 'memory' to act as a visual indicator for the user.
    I've seen all kinds of CSS menus, but few that do this. And the ones I've seen which -do- work like this have style sheets that are -far- too complex for me to suss out on my own. What's the 'trick'? Is there javascript involved? Session Variables? Or is this something that can be done with only CSS (which is my deep hope.)
    TIA,
    ---JC

    If you want just the current page that you are visiting to be different, assign it an id as in "here".
    If this is your sidebar links and the example uses <ul><li> as the example below:
    <div id="sidebar1">
    <div class="sidenav">
          <h1>Link Header </h1>
    <ul>
    <li><a href="#" id="here">Link One</a></li>
    <li><a href="/#">Link Two</a></li>
        <li><a href="#">Link Three</a></li>
    <li><a href="#">Link Four</a></li>
    <li><a href="#">Link Five</a></li>
    <li><a href="#">Link Six</a></li>
    </ul>
    </div>
    </div>
    Then the css would be:
    #sidebar1 {
         float: left;
         width: 150px;
         padding: 15px 5px 15px 5px;
         margin-left:10px;
    .sidenav h1,.sidenav ul {
         padding-left: 5px;
    .sidenav {
         background: #cccccc;
         float: left;
         width: 150px;
    .sidenav h1 {
         color: #ffffff;
         font-size:1em;
         height: 20px;
         background-color:#990000;
    .sidenav ul {
         border-top: 1px solid #fafafa;
         margin: 0;
         padding: 0;
    .sidenav li {
         border: 1px solid #fafafa;
         border-top: none;
         list-style: none;
         margin: 0;
    .sidenav li a {
         color: #000000;
         display: block;
         font-size: 0.9em;
         padding: 3px 6px 3px 14px;
         text-decoration: none;
         background-color:#efefef;
         border-left: solid 5px #ffffff;
    .sidenav li a:hover {
         color: #ffffff;
         background-color:#996600;
    .sidenav li a:visited {
         text-decoration:underline;
    .sidenav a#here {
        border-left-color: #900 !important;
        background-color: transparent !important;
        color: #0074A5 !important;

Maybe you are looking for