Jean-Christophe Roux wrote:
> Hello,
>  
> I have an <img> tag and I'd like a form to appear and overlay that 
> image upon clicking on some button. The image would be still visible 
> beneath the form through some transparancy effect. I tried the DOM 
> Popup Kit but the results on Safari were pretty poor (to be fair, the 
> doc clearly states that this browser is not tested) although, I must 
> say, I was pretty happy with the results on IE and Firefox. Is there 
> another library that would handle Safari in a better fashion? Or maybe 
> if someone could point me to a strategy to achieve that effect? Thank 
> you in advance.
> Jean-Christophe
You can try <input type="image" .../> which allows you to make a form 
submit button out of an image.  You can also use an <a> with a 
background image.  Generally laying elements over top of <img> elements 
is unnecessary and overly complex.

- Ken Snyder

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to