Zoom images

Results 1 to 3 of 3

Thread: Zoom images

  1. #1
    Ashumati Guest

    Default Zoom images

    I want to display image in a web page such as when I display the page, the image size should be small. When I click on it or when I point the mouse over it, it should be bigger. Again after mouse out or next click, it should decrease the size. Can you suggest me the code?

  2. #2
    Join Date
    Dec 1969

    Default RE: Zoom images

    There is no way to do this with NetScape, because in NetScape, all images&#039 sizes are fixed -- they cannot be adjusted (this reduces loading time). In Internet Explorer, however, you can do it by setting document.images(0).style.width and document.images(0).style.height, where "0" is the number of the image, starting at 0 for the first image on the page, and counting up from there. If this is for IE only, and you need more help, I can give it to you, but not until Sunday.

  3. #3
    Join Date
    Dec 1969

    Default it's been done... ...

    it&#039s been done for both IE 4+ and Netscape 4... not be me, of course, but what you&#039re looking for sounds kind of like a "thumbnail viewer" where there&#039s a small version of the graphic, and when you click on it, a larger version appears... it&#039s "free code" at <BR>http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm<BR><BR>hope this helps<BR>-mercy

Posting Permissions

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