Pages: [1]   Go Down
Send this topic | Print
Author Topic: Rollover images of different sizes  (Read 442 times)
mindpetrol
Member
*
Offline Offline

Posts: 39


WWW
« on: November 23, 2008, 04:50:59 PM »

Hopefully a simple question:  I want to put an image on my site that changes to another image of a different size when rolled over.  However, whenever I try this, the second image is squeezed into the same area that the first, smaller image occupied.  How can I make the second image appear actual size without making the rollover area bigger?
Logged
M0ZZA
A Man In A Trance...
Loyal 110MB Member
*******
Online Online

Posts: 2542


So yeah, I would like to be a moderator.


WWW
« Reply #1 on: November 23, 2008, 07:34:08 PM »

I dont know because you havent showed us your code  smiley
Logged

robleyd
Official 110mb Guru
********
Online Online

Posts: 5700

Ask before you PM


« Reply #2 on: November 24, 2008, 09:26:15 AM »

Google is your friend - http://www.google.com/search?q=Rollover+images+of+different+sizes will turn up, amongst others http://www.codetoad.com/javascript/images/image_rollovers.asp which seems to be a solution.
Logged

I once had a hard drive clunk-clicking
Strange noises, weird sounds and tick-ticking
I thought I would wait
And procrastinate...
But now all my data is missing
--------------
dd, a dump, a data dump
read a line from standard in
$USER, the name I call my self
make - a long long time to run
.so a library that is shared
.ko it's not the same as .so
tee, a redirect with in and out
and brings us back to dd d d d
super4u
Super4um
Hyper-Active Member
***
Offline Offline

Posts: 138



WWW
« Reply #3 on: November 24, 2008, 10:23:13 AM »

Hoverbox is an extremely easy solution, just change the sizes in the CSS code.
The best part is it's also FREE, and makes an excellent gallery script too.  grin

http://sonspring.com/journal/hoverbox-image-gallery
Logged

Super4u.co.cc                           
Pages: [1]   Go Up
Send this topic | Print
Jump to: