javascript - Drawing over an image using Raphael.js -
Can I put Rafael.JS canvas on a IMG
element? Should I work on this layout?
Just create the position of Rafael canvas on the top of the image element using the normal CSS techniques:
#wrapper {status: relative; Padding: 0; Profile: 1px solid # 999; } # Scraper IMG {Status: Completed; Top: 0; Left: 0; } # Canvas {status: complete; Top: 0; Left: 0; }
Then throw your elements in such a way:
.
Comments
Post a Comment