Results 1 to 3 of 3

Thread: flashy picture/button

  1. #1
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default flashy picture/button

    my code:

    Code:
    <a href="index.html" onmouseover="image1.src='site_map_invert.gif';"
    onmouseout="image1.src='site_map.gif';">
    <img name="image1" src="site_map.gif" border=0 width="119" height="25"></a>
    works fine. The problem is that if I try to put more than one flashy image, they all get disabled. It works if only one button is loaded with the script, but if i try to put another one (changing image sources of course) it doesn't work. any ideas?
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You need to use a unique name for each set up like this:

    image1

    image2

    etc.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    oh my god I feel stupid!
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •