Results 1 to 3 of 3

Thread: Images of differing sizes with Rom Image Rollover?

  1. #1
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Images of differing sizes with Rom Image Rollover?

    1) Script Title: DOM Image Rollover v.3

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex15/domroll.htm

    3) Describe problem: Any way this code can modified so that the images can be different sizes?

  2. #2
    Join Date
    Aug 2004
    Posts
    9,890
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    They can be different sizes as long as you don't give the <img> tag an explicit width/height attribute. This way, the browser will reflow itself to accomodate each image's original dimensions.

  3. #3
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Thanks!

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
  •