Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

WoodenLegNamedSmith

@WoodenLegNamedSmith
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visual Studio Error
    W WoodenLegNamedSmith

    using System.Security.Permissions

    The problem is that the webserver is running everything locally through its own IIS user and your code on the local machine is accessing through a "remote" connection. I once ran into a similar problem using a mapped folder. You only need to set up the permissions for your development machine, NOT the development SERVER, just the machine you are actually writing code on. You'll need to figure out just which permissions you need to set but here is the MSDN link for the above namespace. System.Security.Permissions Namespace

    I once knew a man with a wooden leg named Smith, I never asked what he named his other leg.

    Web Development help csharp visual-studio sysadmin windows-admin

  • highlight the menu item according to the page
    W WoodenLegNamedSmith

    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.

    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:

    • POP
    • Rock
    • Folk
    • Jazz
    • Country
    • Blues

    Now define your 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.

    Web Development help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups