SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jul 2002
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Rollover-code question

    I've programmed some rollover images using Dreamweaver. All of the rollovers function as hyperlinks, as well. I've noticed an odd variation that I've never noticed during the few years I've been using this program: For some images, the javascript rollover code is housed in the initial <a> tag; for others, the javascript rollover code is housed in the <img> tag. No idea why some are one, and some are the other, but what I would like to know is: Does it matter?

  2. #2
    masquerading Nick's Avatar
    Join Date
    Jun 2003
    Location
    East Coast
    Posts
    2,215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It depends - I assume you are using images as links? If so, it doesn't really matter, as it will work both ways.
    Nick . all that we see or seem, is but a dream within a dream
    Show someone you care, send them a virtual flower.
    Good deals on men's watches


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
  •