0

Is it possible to have a rollover effect for an image and a form.

I.e. I would like to have an image, which when the user hovers over, rolls away to reveal a form (like a login or sign up form).

Cant find anything out like there like this so assuming its not possible but thought I'd ask!

Thanks JD

JD2011
  • 213
  • 2
  • 12
  • 27

1 Answers1

0

This is very much possible.

Using CSS, say position: absolute for the image and the form's div.

Then using z-index, make sure that the image lies over the form.

Then you can use the HTML onmouseover event to execute something like a call to Adobe Spry's slide animation effect to neatly accomplish what you're trying to do.

But in my honest opinion, this is unnecessary glitter.

Angad
  • 2,803
  • 3
  • 32
  • 45