SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Newbie help on this button please!

    I know very little about javascript but I am trying to interpret what a particular button is doing.

    Code:
     
    <td><a href="<A href="http://mysite.com/xx/xx.php?f=3011&i=16998&sub=selector1"=test-selector">http://mysite.com/xx/xx.php?f=3011&i=16998&sub=selector1"=test-selector" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('MyImage','','images/buttons/myimage_border.gif',1)"><img src="images/buttons/myimage.gif" name="MyImage" width="108" height="68" border="0"></a>
    Can someone please explain to me? Also, what variable gets passed along, "selector1" or "test-selector"?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,449
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    There's not enough information there to know. We'd have to see the entire javascript.

  3. #3
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am not sure what you mean by the entire javascript. The button was made using Dreamweaver if that helps so there is a mouseover event that changes the image.

    But what I want to know is which variable is sent when the button is clicked.


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
  •