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. JavaScript
  4. MSN style links

MSN style links

Scheduled Pinned Locked Moved JavaScript
javascriptcomquestion
3 Posts 2 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.
  • B Offline
    B Offline
    Bart
    wrote on last edited by
    #1

    the new windows 8 msn site (t.msn[^] has links that depress on mouse-down. Does anyone know how I can get source javascript that achieves the same effect? TIA

    bart

    T 1 Reply Last reply
    0
    • B Bart

      the new windows 8 msn site (t.msn[^] has links that depress on mouse-down. Does anyone know how I can get source javascript that achieves the same effect? TIA

      bart

      T Offline
      T Offline
      thanh_bkhn
      wrote on last edited by
      #2

      I think you could have the same effect by applying the CSS pseudo-class for the anchor. Below is the example from W3Schools

      a:link {color:#FF0000;} /* unvisited link */
      a:visited {color:#00FF00;} /* visited link */
      a:hover {color:#FF00FF;} /* mouse over link */
      a:active {color:#0000FF;} /* selected link */

      active defines the effect on mouse down event.

      B 1 Reply Last reply
      0
      • T thanh_bkhn

        I think you could have the same effect by applying the CSS pseudo-class for the anchor. Below is the example from W3Schools

        a:link {color:#FF0000;} /* unvisited link */
        a:visited {color:#00FF00;} /* visited link */
        a:hover {color:#FF00FF;} /* mouse over link */
        a:active {color:#0000FF;} /* selected link */

        active defines the effect on mouse down event.

        B Offline
        B Offline
        Bart
        wrote on last edited by
        #3

        Oh, thanks. Its actually the way the link is depressed that I was interested in..

        bart

        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