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
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to activate the header link in asp.net

how to activate the header link in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-nettutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Johndas
    wrote on last edited by
    #1

    Hi all, i am using user control for Top heading eg: Home Tour Request etc are such type of heading.when i click Home link then it should be activate for navigation of other page. same thing should happen in other link, i am using css also. my question, home to make the link activate when user click and visits for the pages.* Holidays
    ; thanks in advance.

    JohnDas

    L A 2 Replies Last reply
    0
    • J Johndas

      Hi all, i am using user control for Top heading eg: Home Tour Request etc are such type of heading.when i click Home link then it should be activate for navigation of other page. same thing should happen in other link, i am using css also. my question, home to make the link activate when user click and visits for the pages.* Holidays
      ; thanks in advance.

      JohnDas

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Do you want to Highlight the Link e.g. make it bold, etc. If so, then i can assist you. Aman Bhullar

      J 1 Reply Last reply
      0
      • L Lost User

        Do you want to Highlight the Link e.g. make it bold, etc. If so, then i can assist you. Aman Bhullar

        J Offline
        J Offline
        Johndas
        wrote on last edited by
        #3

        yes, i need the link should be highlighted, when user click. 1)if he click Home link,it should be highlighted. 2)if he click other link for eg:Tour then it should be highlighted and deactive the "Home" vice verse. please help me.

        JohnDas

        A L 2 Replies Last reply
        0
        • J Johndas

          Hi all, i am using user control for Top heading eg: Home Tour Request etc are such type of heading.when i click Home link then it should be activate for navigation of other page. same thing should happen in other link, i am using css also. my question, home to make the link activate when user click and visits for the pages.* Holidays
          ; thanks in advance.

          JohnDas

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Johndas wrote:

          my question, home to make the link activate when user click and visits for the pages.

          Try this Css with your link and try to customize as per your requirement .LinkCSS LC { font-size:7pt; font-family:verdana; color:#000080; } .LinkCSS LC:link { color: #000080; } .LinkCSS LC:hover { color: #000088; } .LinkCSS LC:visited { color: #000088; }

          cheers, Abhijit

          1 Reply Last reply
          0
          • J Johndas

            yes, i need the link should be highlighted, when user click. 1)if he click Home link,it should be highlighted. 2)if he click other link for eg:Tour then it should be highlighted and deactive the "Home" vice verse. please help me.

            JohnDas

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            Check my post. I have already give you answer !!

            cheers, Abhijit

            1 Reply Last reply
            0
            • J Johndas

              yes, i need the link should be highlighted, when user click. 1)if he click Home link,it should be highlighted. 2)if he click other link for eg:Tour then it should be highlighted and deactive the "Home" vice verse. please help me.

              JohnDas

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              hi, Make the links server side. Add a property in header file. Assisgn it a value every time from a page accesing it. Then the header should, highlight the link accordingly. Just change the CSS of the link on server.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

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