color change

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott Solar

    #1

    color change

    I have a page I am trying to fix for my friend:



    It has text with references to footnotes.

    We would like to "visited" tags to change color as soon as a link is
    clicked on. Now, and not wait for a browser reload.

    Click a link, visit the footnote, click back and the link to the
    footnote is now a new color.

    Can anyone help with a script that accomplishes this??

    TIA

    Scott

  • kaeli

    #2
    Re: color change

    In article <gNidneT0tubjo0 OiRVn-tw@mminternet.n et>,
    scott@amazonrep tiles.spamsux.c om enlightened us with...[color=blue]
    > Click a link, visit the footnote, click back and the link to the
    > footnote is now a new color.
    >
    > Can anyone help with a script that accomplishes this??
    >[/color]

    For browsers with style only. Will work in NN6+ and IE5+. Check other
    browsers if necessary.

    <A onClick="if (this.style) this.style.colo r='#FF0000';">O pen Link</A>

    --
    --
    ~kaeli~
    Once you've seen one shopping center, you've seen a mall.



    Comment

    • Scott Solar

      #3
      Re: color change

      kaeli wrote:
      [color=blue]
      > In article <gNidneT0tubjo0 OiRVn-tw@mminternet.n et>,
      > scott@amazonrep tiles.spamsux.c om enlightened us with...
      >[color=green]
      >>Click a link, visit the footnote, click back and the link to the
      >>footnote is now a new color.
      >>
      >>Can anyone help with a script that accomplishes this??
      >>[/color]
      >
      >
      > For browsers with style only. Will work in NN6+ and IE5+. Check other
      > browsers if necessary.
      >
      > <A onClick="if (this.style) this.style.colo r='#FF0000';">O pen Link</A>
      >[/color]


      It'll look like a link but it doesn't say where to link too.

      Comment

      • kaeli

        #4
        Re: color change

        In article <xbednYJ7M9dJQX 2i4p2dnA@mminte rnet.net>,
        scott@amazonrep tiles.spamsux.c om enlightened us with...[color=blue][color=green]
        > >
        > > For browsers with style only. Will work in NN6+ and IE5+. Check other
        > > browsers if necessary.
        > >
        > > <A onClick="if (this.style) this.style.colo r='#FF0000';">O pen Link</A>
        > >[/color]
        >
        >
        > It'll look like a link but it doesn't say where to link too.
        >
        >[/color]

        That's because it is an example with no href to show you the onClick.

        --
        --
        ~kaeli~
        Why did kamikaze pilots wear helmets?



        Comment

        • Scott Solar

          #5
          Re: color change

          kaeli wrote:[color=blue]
          > In article <xbednYJ7M9dJQX 2i4p2dnA@mminte rnet.net>,
          > scott@amazonrep tiles.spamsux.c om enlightened us with...
          >[color=green][color=darkred]
          >>>For browsers with style only. Will work in NN6+ and IE5+. Check other
          >>>browsers if necessary.
          >>>
          >>><A onClick="if (this.style) this.style.colo r='#FF0000';">O pen Link</A>
          >>>[/color]
          >>
          >>It'll look like a link but it doesn't say where to link too.
          >>
          >>[/color]
          >
          >
          > That's because it is an example with no href to show you the onClick.
          >[/color]

          LOL, oops. I figgered it out.

          Comment

          Working...