OnClick help needed

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

    OnClick help needed

    Currently I have 6 images (anchors) across my page and have some javascript
    for OnMouseOver and OnMouseExit which highlights the image as you move the
    mouse over it (see http://www.leicesterchurchmusic.org).

    When you click a button, I would like to be able to:
    - Change the image to a different button
    - Change the last image I clicked back to a normal button
    - Button shall not change for over/exit if it is clicked.

    For one button, this is the code I have so far.

    <A target="main" href="./home.html"
    onmouseover="im age1.src='./images/navbutton_home_ over.gif';"
    onmouseout="ima ge1.src='./images/navbutton_home. gif';" ><IMG name="image1"
    src="./images/navbutton_home. gif" border="0"></A>

    1.
    I can use OnClick and change the image, but as soon as I move the mouse, it
    reverts back again because of the existing mouseover/exit functions. How do
    I stop this?

    2.
    Obviously when I click a different button, the same thing shoudl happen, but
    I'll have to revert the other button back to normal. How do I do this?

    Any help would be appreciated.

    Many thanks,
    Steve :)
    --


  • HikksNotAtHome

    #2
    Re: OnClick help needed

    In article <RWYRE0FB0A3C@r owyerboat.com>, "Twinkletoe s"
    <nojunk@nospam. noviagra> writes:
    [color=blue]
    >I use WS_FTP. It doesn't care what file you upload :P[/color]

    WS_FTP doesn't care, but the AOL server *does*.
    I just tried uploading an .odometer file using WS_FTP and the AOL FTP Server
    rejected it.

    553-Files or Directory names on this server must contain only alphanumeric
    553-("a"-"z", upper or lower case, or the digits "0"-"9" and the characters
    553-underscore("_") , hypeh("-"), or period(".") - and must NOT begin with
    553-either a hyphen or a period. No spaces or special characters are
    553-now permitted
    553 /hikksnotathome/.odometer: Permission denied. (Filename (deny))

    Can you post a SN that has a self uploaded odometer file?

    To prove its authenticity, make it say:

    "This is a test file, to prove that one can upload a filename named .odometer
    to the AOL servers" should do it. And name it .odometer or .testFile Something
    to show that you are actually doing it?
    --
    Randy

    Comment

    • Twinkletoes

      #3
      Re: OnClick help needed

      =====
      You've replied to the wrong thread pal.
      =====


      In a flash of pure inspiration, HikksNotAtHome declared:
      [color=blue]
      > In article <RWYRE0FB0A3C@r owyerboat.com>, "Twinkletoe s"
      > <nojunk@nospam. noviagra> writes:
      >[color=green]
      >> I use WS_FTP. It doesn't care what file you upload :P[/color][/color]

      <snip>


      Comment

      • HikksNotAtHome

        #4
        Re: OnClick help needed

        In article <RWYRE1131761@r owyerboat.com>, "Twinkletoe s"
        <nojunk@nospam. noviagra> writes:
        [color=blue]
        >
        >=====
        >You've replied to the wrong thread pal.
        >=====
        >
        >
        >In a flash of pure inspiration, HikksNotAtHome declared:
        >[color=green]
        >> In article <RWYRE0FB0A3C@r owyerboat.com>, "Twinkletoe s"
        >> <nojunk@nospam. noviagra> writes:
        >>[color=darkred]
        >>> I use WS_FTP. It doesn't care what file you upload :P[/color][/color]
        >
        ><snip>[/color]

        Yikes! My apologies. Not even sure how that happened. Guess its another case of
        this crappy AOL newsreader "fixing" things for me. Again, my apologies.


        --
        Randy

        Comment

        Working...